[PATCH v1 3/4] perf/x86: add a function to get the lbr stack

2017-09-24 Thread Wei Wang
The LBR stack MSRs are architecturally specific. The perf subsystem has already assigned the abstracted MSR values based on the CPU architecture. This patch enables a caller outside the perf subsystem to get the LBR stack info. This is useful for hyperviosrs to prepare the lbr feature for the

[PATCH v1 3/4] perf/x86: add a function to get the lbr stack

2017-09-24 Thread Wei Wang
The LBR stack MSRs are architecturally specific. The perf subsystem has already assigned the abstracted MSR values based on the CPU architecture. This patch enables a caller outside the perf subsystem to get the LBR stack info. This is useful for hyperviosrs to prepare the lbr feature for the