Searched refs:br_stack (Results 1 – 7 of 7) sorted by relevance
/linux/kernel/trace/ |
A D | bpf_trace.c | 1407 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4() 1413 if (unlikely(!br_stack)) in BPF_CALL_4() 1417 return br_stack->nr * br_entry_size; in BPF_CALL_4() 1422 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4() 1423 memcpy(buf, br_stack->entries, to_copy); in BPF_CALL_4()
|
/linux/tools/perf/util/ |
A D | intel-pt.c | 138 struct branch_stack *br_stack; member 1138 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 1139 if (!pt->br_stack) in intel_pt_br_stack_init() 1152 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 1156 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 1967 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() argument 1973 br_stack->nr = 0; in intel_pt_add_lbrs() 1975 to = &br_stack->entries[0].from; in intel_pt_add_lbrs() 1986 br_stack->nr += 1; in intel_pt_add_lbrs()
|
/linux/include/linux/ |
A D | perf_event.h | 1006 struct perf_branch_stack *br_stack; member 1055 data->br_stack = NULL; in perf_sample_data_init()
|
/linux/arch/x86/events/intel/ |
A D | ds.c | 1592 data->br_stack = &cpuc->lbr_stack; in setup_pebs_fixed_sample_data() 1739 data->br_stack = &cpuc->lbr_stack; in setup_pebs_adaptive_sample_data()
|
A D | core.c | 2941 data.br_stack = &cpuc->lbr_stack; in handle_pmi_common()
|
/linux/kernel/events/ |
A D | core.c | 7052 if (data->br_stack) { in perf_output_sample() 7055 size = data->br_stack->nr in perf_output_sample() 7058 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 7060 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 7061 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 7352 if (data->br_stack) { in perf_prepare_sample() 7356 size += data->br_stack->nr in perf_prepare_sample()
|
/linux/arch/powerpc/perf/ |
A D | core-book3s.c | 2223 data.br_stack = &cpuhw->bhrb_stack; in record_and_restart()
|
Completed in 58 milliseconds