Home
last modified time | relevance | path

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

/linux/arch/x86/events/intel/
H A Dlbr.c300 static __always_inline u64 rdlbr_from(unsigned int idx, struct lbr_entry *lbr) in rdlbr_from() argument
304 if (lbr) in rdlbr_from()
305 return lbr->from; in rdlbr_from()
312 static __always_inline u64 rdlbr_to(unsigned int idx, struct lbr_entry *lbr) in rdlbr_to() argument
316 if (lbr) in rdlbr_to()
317 return lbr->to; in rdlbr_to()
324 static __always_inline u64 rdlbr_info(unsigned int idx, struct lbr_entry *lbr) in rdlbr_info() argument
328 if (lbr) in rdlbr_info()
329 return lbr->info; in rdlbr_info()
337 wrlbr_all(struct lbr_entry *lbr, unsigned int idx, bool need_info) in wrlbr_all() argument
[all …]
H A DMakefile4 obj-$(CONFIG_CPU_SUP_INTEL) += lbr.o p4.o p6.o pt.o
H A Dds.c2593 struct lbr_entry *lbr = next_record; in setup_pebs_adaptive_sample_data() local
2599 intel_pmu_store_pebs_lbrs(lbr); in setup_pebs_adaptive_sample_data()
2777 if (header->lbr) { in setup_arch_pebs_sample_data()
2779 struct lbr_entry *lbr; in setup_arch_pebs_sample_data() local
2783 lbr = next_record; in setup_arch_pebs_sample_data()
2785 num_lbr = header->lbr == ARCH_PEBS_LBR_NUM_VAR ? in setup_arch_pebs_sample_data()
2787 header->lbr * ARCH_PEBS_BASE_LBR_ENTRIES; in setup_arch_pebs_sample_data()
2791 intel_pmu_store_pebs_lbrs(lbr); in setup_arch_pebs_sample_data()
/linux/arch/x86/include/asm/
H A Dperf_event.h551 lbr:2, member
830 extern void x86_perf_get_lbr(struct x86_pmu_lbr *lbr);
834 static inline void x86_perf_get_lbr(struct x86_pmu_lbr *lbr) in x86_perf_get_lbr() argument
836 memset(lbr, 0, sizeof(*lbr)); in x86_perf_get_lbr()
/linux/tools/perf/tests/shell/
H A Drecord_lbr.sh42 perf report --stitch-lbr -i "${perfdata}" > "${perfdata}".txt 2>&1
51 -e cycles --call-graph lbr
H A Daddr2line_inlines.sh74 perf record --call-graph lbr -e cycles:u -o "${perf_data}" -- perf test -w inlineloop 1
/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.c671 struct x86_pmu_lbr *lbr = vcpu_to_lbr_records(vcpu); in vmx_update_intercept_for_lbr_msrs() local
674 for (i = 0; i < lbr->nr; i++) { in vmx_update_intercept_for_lbr_msrs()
675 vmx_set_intercept_for_msr(vcpu, lbr->from + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
676 vmx_set_intercept_for_msr(vcpu, lbr->to + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
677 if (lbr->info) in vmx_update_intercept_for_lbr_msrs()
678 vmx_set_intercept_for_msr(vcpu, lbr->info + i, MSR_TYPE_RW, set); in vmx_update_intercept_for_lbr_msrs()
/linux/tools/perf/Documentation/
H A Dtips.txt29 If call chains don't work try perf record --call-graph dwarf or --call-graph lbr
42 When collecting LBR backtraces use --stitch-lbr to handle more than 32 deep entries: perf record --call-graph lbr ; perf report --stitch-lbr
H A Dperf-c2c.txt133 --stitch-lbr::
136 perf c2c record --call-graph lbr.
138 it can recreate better call stacks than the default lbr call stack
H A Dperf-top.txt387 --stitch-lbr::
389 callgraph. The option must be used with --call-graph lbr recording.
391 it can recreate better call stacks than the default lbr call stack
H A Dperf-script.txt455 --stitch-lbr::
458 perf record --call-graph lbr.
460 it can recreate better call stacks than the default lbr call stack
H A Dperf-report.txt579 --stitch-lbr::
582 perf record --call-graph lbr.
584 it can recreate better call stacks than the default lbr call stack
H A Dperf-record.txt63 FP mode, "dwarf" for DWARF mode, "lbr" for LBR mode and
305 Call Frame Information) or "lbr" (Hardware Last Branch Record
312 Using the "lbr" method doesn't require any compiler options. It
H A Dperf-config.txt465 and 'lbr'. The value 'dwarf' is effective only if libunwind
467 the value 'lbr' only works for certain cpus. The method for
H A Dperf-trace.txt185 are 'dwarf' and 'lbr', where available, try: 'perf trace --call-graph dwarf'.
/linux/arch/x86/events/amd/
H A DMakefile2 obj-$(CONFIG_CPU_SUP_AMD) += core.o lbr.o
/linux/arch/x86/events/
H A Dperf_event.h1264 struct lbr_entry lbr[MAX_LBR_ENTRIES]; member
1288 struct arch_lbr_state lbr; member
1959 void intel_pmu_store_pebs_lbrs(struct lbr_entry *lbr);
/linux/tools/lib/python/kdoc/
H A Dkdoc_parser.py723 dtype, name, lbr, content, rbr, rest, semi = t
/linux/arch/s390/tools/
H A Dopcodes.txt514 b926 lbr RRE_RR