Home
last modified time | relevance | path

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

/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.c1004 perf_sample_save_brstack(&data, event, &cpuc->lbr_stack, NULL); in amd_pmu_v2_handle_irq()
/linux/arch/x86/events/intel/
H A Dlbr.c754 cpuc->lbr_stack.nr = i; in intel_pmu_lbr_read_32()
755 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
849 cpuc->lbr_stack.nr = out; in intel_pmu_lbr_read_64()
850 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()
933 cpuc->lbr_stack.nr = i; in intel_pmu_store_lbr()
959 for (i = 0; i < cpuc->lbr_stack.nr; i++) { in intel_pmu_lbr_counters_reorder()
977 perf_sample_save_brstack(data, event, &cpuc->lbr_stack, cpuc->lbr_counters); in intel_pmu_lbr_save_brstack()
981 perf_sample_save_brstack(data, event, &cpuc->lbr_stack, NULL); in intel_pmu_lbr_save_brstack()
1213 for (i = 0; i < cpuc->lbr_stack.nr; i++) { in intel_pmu_lbr_filter()
1251 for (i = 0; i < cpuc->lbr_stack.nr; ) { in intel_pmu_lbr_filter()
[all …]
H A Dds.c1576 if (!cpuc->lbr_stack.nr || !from || !to) in intel_pmu_pebs_fixup_ip()
1872 perf_sample_save_brstack(data, event, &cpuc->lbr_stack, NULL); in setup_pebs_fixed_sample_data()
/linux/tools/perf/util/
H A Dsession.c792 struct branch_stack *lbr_stack = sample->branch_stack; in callchain__lbr_callstack_printf() local
802 if ((i != kernel_callchain_nr) && lbr_stack->nr) { in callchain__lbr_callstack_printf()
820 total_nr = i + 1 + lbr_stack->nr + 1; in callchain__lbr_callstack_printf()
831 for (i = 0; i < lbr_stack->nr; i++) in callchain__lbr_callstack_printf()
H A Dmachine.c2302 struct branch_stack *lbr_stack = sample->branch_stack; in lbr_callchain_add_lbr_ip() local
2305 int lbr_nr = lbr_stack->nr; in lbr_callchain_add_lbr_ip()
/linux/arch/x86/events/
H A Dperf_event.h289 struct perf_branch_stack lbr_stack; member
H A Dcore.c1711 perf_sample_save_brstack(&data, event, &cpuc->lbr_stack, NULL); in x86_pmu_handle_irq()