Searched refs:br_stack (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | intel-pt.c | 159 struct branch_stack *br_stack; member 1268 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 1269 if (!pt->br_stack) in intel_pt_br_stack_init() 1282 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 1286 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 2272 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() 2278 br_stack->nr = 0; 2280 to = &br_stack->entries[0].from; 2291 br_stack->nr += 1; 3859 zfree(&pt->br_stack); in intel_pt_process_auxtrace_event() 2252 intel_pt_add_lbrs(struct branch_stack * br_stack,const struct intel_pt_blk_items * items) intel_pt_add_lbrs() argument [all...] |
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1539 struct perf_branch_stack *br_stack = ctx->data->br_stack; 1548 if (unlikely(!br_stack)) in pe_prog_func_proto() 1552 return br_stack->nr * br_entry_size; in pe_prog_func_proto() 1557 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in pe_prog_func_proto() 1558 memcpy(buf, br_stack->entries, to_copy); in pe_prog_func_proto() 1508 struct perf_branch_stack *br_stack = ctx->data->br_stack; BPF_CALL_4() local
|
| /linux/include/linux/ |
| H A D | perf_event.h | 1333 struct perf_branch_stack *br_stack; member 1453 data->br_stack = brs; in perf_sample_save_brstack()
|
| /linux/kernel/events/ |
| H A D | core.c | 8330 if (data->br_stack) { in perf_output_sample() 8333 size = data->br_stack->nr in perf_output_sample() 8336 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 8338 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 8339 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 8345 size = data->br_stack->nr * sizeof(u64); in perf_output_sample() 8648 data->br_stack = NULL; in perf_prepare_sample()
|