Searched refs:br_stack (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/kernel/trace/ |
D | bpf_trace.c | 1521 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4() local 1527 if (unlikely(!br_stack)) in BPF_CALL_4() 1531 return br_stack->nr * br_entry_size; in BPF_CALL_4() 1536 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4() 1537 memcpy(buf, br_stack->entries, to_copy); in BPF_CALL_4()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | intel-pt.c | 134 struct branch_stack *br_stack; member 976 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 977 if (!pt->br_stack) in intel_pt_br_stack_init() 990 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 994 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 1756 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() argument 1762 br_stack->nr = 0; in intel_pt_add_lbrs() 1764 to = &br_stack->entries[0].from; in intel_pt_add_lbrs() 1775 br_stack->nr += 1; in intel_pt_add_lbrs()
|
/kernel/linux/linux-5.10/include/linux/ |
D | perf_event.h | 997 struct perf_branch_stack *br_stack; member 1044 data->br_stack = NULL; in perf_sample_data_init()
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | ds.c | 1484 data->br_stack = &cpuc->lbr_stack; in setup_pebs_fixed_sample_data() 1610 data->br_stack = &cpuc->lbr_stack; in setup_pebs_adaptive_sample_data()
|
D | core.c | 2694 data.br_stack = &cpuc->lbr_stack; in handle_pmi_common()
|
/kernel/linux/linux-5.10/kernel/events/ |
D | core.c | 7038 if (data->br_stack) { in perf_output_sample() 7041 size = data->br_stack->nr in perf_output_sample() 7044 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 7046 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 7047 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 7245 if (data->br_stack) { in perf_prepare_sample() 7249 size += data->br_stack->nr in perf_prepare_sample()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | core-book3s.c | 2204 data.br_stack = &cpuhw->bhrb_stack; in record_and_restart()
|