Searched refs:br_stack (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/kernel/trace/ |
D | bpf_trace.c | 1705 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4() local 1714 if (unlikely(!br_stack)) in BPF_CALL_4() 1718 return br_stack->nr * br_entry_size; in BPF_CALL_4() 1723 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4() 1724 memcpy(buf, br_stack->entries, to_copy); in BPF_CALL_4()
|
/linux-6.1.9/tools/perf/util/ |
D | intel-pt.c | 153 struct branch_stack *br_stack; member 1236 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 1237 if (!pt->br_stack) in intel_pt_br_stack_init() 1250 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 1254 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 2150 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() argument 2156 br_stack->nr = 0; in intel_pt_add_lbrs() 2158 to = &br_stack->entries[0].from; in intel_pt_add_lbrs() 2169 br_stack->nr += 1; in intel_pt_add_lbrs()
|
/linux-6.1.9/arch/x86/events/amd/ |
D | core.c | 932 data.br_stack = &cpuc->lbr_stack; in amd_pmu_v2_handle_irq()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | ds.c | 1678 data->br_stack = &cpuc->lbr_stack; in setup_pebs_fixed_sample_data() 1838 data->br_stack = &cpuc->lbr_stack; in setup_pebs_adaptive_sample_data()
|
D | core.c | 3030 data.br_stack = &cpuc->lbr_stack; in handle_pmi_common()
|
/linux-6.1.9/include/linux/ |
D | perf_event.h | 1048 struct perf_branch_stack *br_stack; member
|
/linux-6.1.9/arch/powerpc/perf/ |
D | core-book3s.c | 2316 data.br_stack = &cpuhw->bhrb_stack; in record_and_restart()
|
/linux-6.1.9/kernel/events/ |
D | core.c | 7145 size = data->br_stack->nr in perf_output_sample() 7148 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 7150 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 7151 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 7453 size += data->br_stack->nr in perf_prepare_sample()
|
/linux-6.1.9/arch/x86/events/ |
D | core.c | 1705 data.br_stack = &cpuc->lbr_stack; in x86_pmu_handle_irq()
|