Home
last modified time | relevance | path

Searched refs:br_stack (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/trace/
A Dbpf_trace.c1407 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 Dintel-pt.c138 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 Dperf_event.h1006 struct perf_branch_stack *br_stack; member
1055 data->br_stack = NULL; in perf_sample_data_init()
/linux/arch/x86/events/intel/
A Dds.c1592 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 Dcore.c2941 data.br_stack = &cpuc->lbr_stack; in handle_pmi_common()
/linux/kernel/events/
A Dcore.c7052 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 Dcore-book3s.c2223 data.br_stack = &cpuhw->bhrb_stack; in record_and_restart()

Completed in 58 milliseconds