aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorLike Xu2020-06-13 16:09:48 +0800
committerPeter Zijlstra2020-07-02 15:51:46 +0200
commitb2d6504761a50b9493eb4b20f6e188b673f20c32 (patch)
tree32db6c3766c09fcb0a371e5a6a71737fc92dc155 /mm
parent027440b5d426a51f33b515bbd236cc479d1e051f (diff)
perf/x86/lbr: Add interface to get LBR information
The LBR records msrs are model specific. The perf subsystem has already obtained the base addresses of LBR records based on the cpu model. Therefore, an interface is added to allow callers outside the perf subsystem to obtain these LBR information. It's useful for hypervisors to emulate the LBR feature for guests with less code. Signed-off-by: Like Xu <like.xu@linux.intel.com> Signed-off-by: Wei Wang <wei.w.wang@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200613080958.132489-4-like.xu@linux.intel.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions