Searched refs:br_stack (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/kernel/trace/ |
A D | bpf_trace.c | 1714 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4() local 1723 if (unlikely(!br_stack)) in BPF_CALL_4() 1727 return br_stack->nr * br_entry_size; in BPF_CALL_4() 1732 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4() 1733 memcpy(buf, br_stack->entries, to_copy); in BPF_CALL_4()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | intel-pt.c | 158 struct branch_stack *br_stack; member 1243 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 1244 if (!pt->br_stack) in intel_pt_br_stack_init() 1257 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 1261 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 2184 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() argument 2190 br_stack->nr = 0; in intel_pt_add_lbrs() 2192 to = &br_stack->entries[0].from; in intel_pt_add_lbrs() 2203 br_stack->nr += 1; in intel_pt_add_lbrs()
|
/linux-6.3-rc2/include/linux/ |
A D | perf_event.h | 1163 struct perf_branch_stack *br_stack; member 1248 data->br_stack = brs; in perf_sample_save_brstack()
|
/linux-6.3-rc2/kernel/events/ |
A D | core.c | 7317 if (data->br_stack) { in perf_output_sample() 7320 size = data->br_stack->nr in perf_output_sample() 7323 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 7325 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 7326 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 7609 data->br_stack = NULL; in perf_prepare_sample()
|
/linux-6.3-rc2/arch/x86/events/ |
A D | core.c | 1707 data.br_stack = &cpuc->lbr_stack; in x86_pmu_handle_irq()
|
Completed in 47 milliseconds