Searched hist:c301b1d80ed5b806834fe0f739f028f65fb4fb16 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/events/intel/ |
H A D | lbr.c | diff c301b1d80ed5b806834fe0f739f028f65fb4fb16 Fri Jul 03 07:49:09 CDT 2020 Kan Liang <kan.liang@linux.intel.com> perf/x86/intel/lbr: Add a function pointer for LBR read
The method to read Architectural LBRs is different from previous model-specific LBR. Perf has to implement a different function.
A function pointer for LBR read is introduced. Perf should initialize the corresponding function at boot time, and avoid checking lbr_format at run time.
The current 64-bit LBR read function is set as default.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1593780569-62993-4-git-send-email-kan.liang@linux.intel.com
|
H A D | core.c | diff c301b1d80ed5b806834fe0f739f028f65fb4fb16 Fri Jul 03 07:49:09 CDT 2020 Kan Liang <kan.liang@linux.intel.com> perf/x86/intel/lbr: Add a function pointer for LBR read
The method to read Architectural LBRs is different from previous model-specific LBR. Perf has to implement a different function.
A function pointer for LBR read is introduced. Perf should initialize the corresponding function at boot time, and avoid checking lbr_format at run time.
The current 64-bit LBR read function is set as default.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1593780569-62993-4-git-send-email-kan.liang@linux.intel.com
|
/openbmc/linux/arch/x86/events/ |
H A D | perf_event.h | diff c301b1d80ed5b806834fe0f739f028f65fb4fb16 Fri Jul 03 07:49:09 CDT 2020 Kan Liang <kan.liang@linux.intel.com> perf/x86/intel/lbr: Add a function pointer for LBR read
The method to read Architectural LBRs is different from previous model-specific LBR. Perf has to implement a different function.
A function pointer for LBR read is introduced. Perf should initialize the corresponding function at boot time, and avoid checking lbr_format at run time.
The current 64-bit LBR read function is set as default.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1593780569-62993-4-git-send-email-kan.liang@linux.intel.com
|