Home
last modified time | relevance | path

Searched refs:lbr_stack (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/arch/x86/events/amd/
H A Dlbr.c110 for (i = 0; i < cpuc->lbr_stack.nr; i++) { in amd_pmu_lbr_filter()
140 for (i = 0; i < cpuc->lbr_stack.nr; ) { in amd_pmu_lbr_filter()
143 while (++j < cpuc->lbr_stack.nr) in amd_pmu_lbr_filter()
145 cpuc->lbr_stack.nr--; in amd_pmu_lbr_filter()
211 cpuc->lbr_stack.nr = out; in amd_pmu_lbr_read()
217 cpuc->lbr_stack.hw_idx = 0; in amd_pmu_lbr_read()
H A Dbrs.c355 cpuc->lbr_stack.nr = nr; in amd_brs_drain()
H A Dcore.c957 perf_sample_save_brstack(&data, event, &cpuc->lbr_stack); in amd_pmu_v2_handle_irq()
/openbmc/linux/arch/x86/events/intel/
H A Dlbr.c734 cpuc->lbr_stack.nr = i; in intel_pmu_lbr_read_32()
735 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
829 cpuc->lbr_stack.nr = out; in intel_pmu_lbr_read_64()
830 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()
903 cpuc->lbr_stack.nr = i; in intel_pmu_store_lbr()
1135 for (i = 0; i < cpuc->lbr_stack.nr; i++) { in intel_pmu_lbr_filter()
1173 for (i = 0; i < cpuc->lbr_stack.nr; ) { in intel_pmu_lbr_filter()
1176 while (++j < cpuc->lbr_stack.nr) in intel_pmu_lbr_filter()
1178 cpuc->lbr_stack.nr--; in intel_pmu_lbr_filter()
1193 cpuc->lbr_stack.hw_idx = -1ULL; in intel_pmu_store_pebs_lbrs()
[all …]
H A Dds.c1462 if (!cpuc->lbr_stack.nr || !from || !to) in intel_pmu_pebs_fixup_ip()
1758 perf_sample_save_brstack(data, event, &cpuc->lbr_stack); in setup_pebs_fixed_sample_data()
1919 perf_sample_save_brstack(data, event, &cpuc->lbr_stack); in setup_pebs_adaptive_sample_data()
H A Dcore.c3061 perf_sample_save_brstack(&data, event, &cpuc->lbr_stack); in handle_pmi_common()
/openbmc/linux/tools/perf/util/
H A Dsession.c1097 struct branch_stack *lbr_stack = sample->branch_stack; in callchain__lbr_callstack_printf() local
1107 if ((i != kernel_callchain_nr) && lbr_stack->nr) { in callchain__lbr_callstack_printf()
1125 total_nr = i + 1 + lbr_stack->nr + 1; in callchain__lbr_callstack_printf()
1136 for (i = 0; i < lbr_stack->nr; i++) in callchain__lbr_callstack_printf()
H A Dmachine.c2554 struct branch_stack *lbr_stack = sample->branch_stack; in lbr_callchain_add_lbr_ip() local
2557 int lbr_nr = lbr_stack->nr; in lbr_callchain_add_lbr_ip()
/openbmc/linux/arch/x86/events/
H A Dperf_event.h284 struct perf_branch_stack lbr_stack; member
H A Dcore.c1708 perf_sample_save_brstack(&data, event, &cpuc->lbr_stack); in x86_pmu_handle_irq()