Home
last modified time | relevance | path

Searched refs:lbr (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/arch/x86/events/intel/
Dlbr.c378 static __always_inline u64 rdlbr_from(unsigned int idx, struct lbr_entry *lbr) in rdlbr_from() argument
382 if (lbr) in rdlbr_from()
383 return lbr->from; in rdlbr_from()
390 static __always_inline u64 rdlbr_to(unsigned int idx, struct lbr_entry *lbr) in rdlbr_to() argument
394 if (lbr) in rdlbr_to()
395 return lbr->to; in rdlbr_to()
402 static __always_inline u64 rdlbr_info(unsigned int idx, struct lbr_entry *lbr) in rdlbr_info() argument
406 if (lbr) in rdlbr_info()
407 return lbr->info; in rdlbr_info()
415 wrlbr_all(struct lbr_entry *lbr, unsigned int idx, bool need_info) in wrlbr_all() argument
[all …]
DMakefile4 obj-$(CONFIG_CPU_SUP_INTEL) += lbr.o p4.o p6.o pt.o
Dds.c1731 struct lbr_entry *lbr = next_record; in setup_pebs_adaptive_sample_data() local
1737 intel_pmu_store_pebs_lbrs(lbr); in setup_pebs_adaptive_sample_data()
/Linux-v5.15/arch/x86/kvm/vmx/
Dpmu_intel.c188 struct x86_pmu_lbr *lbr = vcpu_to_lbr_records(vcpu); in intel_pmu_lbr_is_enabled() local
190 return lbr->nr && (vcpu_get_perf_capabilities(vcpu) & PMU_CAP_LBR_FMT); in intel_pmu_lbr_is_enabled()
628 struct x86_pmu_lbr *lbr = vcpu_to_lbr_records(vcpu); in vmx_update_intercept_for_lbr_msrs() local
631 for (i = 0; i < lbr->nr; i++) { in vmx_update_intercept_for_lbr_msrs()
632 vmx_set_intercept_for_msr(vcpu, lbr->from + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
633 vmx_set_intercept_for_msr(vcpu, lbr->to + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
634 if (lbr->info) in vmx_update_intercept_for_lbr_msrs()
635 vmx_set_intercept_for_msr(vcpu, lbr->info + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
/Linux-v5.15/arch/x86/include/asm/
Dperf_event.h495 extern int x86_perf_get_lbr(struct x86_pmu_lbr *lbr);
498 static inline int x86_perf_get_lbr(struct x86_pmu_lbr *lbr) in x86_perf_get_lbr() argument
/Linux-v5.15/tools/perf/Documentation/
Dperf-c2c.txt114 --stitch-lbr::
117 perf c2c record --call-graph lbr.
119 it can recreate better call stacks than the default lbr call stack
Dperf-top.txt334 --stitch-lbr::
336 callgraph. The option must be used with --call-graph lbr recording.
338 it can recreate better call stacks than the default lbr call stack
Dperf-script.txt484 --stitch-lbr::
487 perf record --call-graph lbr.
489 it can recreate better call stacks than the default lbr call stack
Dperf-report.txt503 --stitch-lbr::
506 perf record --call-graph lbr.
508 it can recreate better call stacks than the default lbr call stack
Dperf-record.txt61 FP mode, "dwarf" for DWARF mode, "lbr" for LBR mode and
258 Call Frame Information) or "lbr" (Hardware Last Branch Record
265 Using the "lbr" method doesn't require any compiler options. It
Dperf-config.txt432 and 'lbr'. The value 'dwarf' is effective only if libunwind
434 the value 'lbr' only works for certain cpus. The method for
Dperf-trace.txt174 are 'dwarf' and 'lbr', where available, try: 'perf trace --call-graph dwarf'.
/Linux-v5.15/arch/x86/events/
Dperf_event.h928 struct lbr_entry lbr[MAX_LBR_ENTRIES]; member
952 struct arch_lbr_state lbr; member
1323 void intel_pmu_store_pebs_lbrs(struct lbr_entry *lbr);
/Linux-v5.15/arch/s390/tools/
Dopcodes.txt513 b926 lbr RRE_RR