aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2020-07-03 05:49:08 -0700
committerPeter Zijlstra <[email protected]>2020-07-08 11:38:51 +0200
commit9f354a726cb1d4eb00a0784a27eaa0a3283cff71 (patch)
tree60414123bfbe79c25977465310964a3a98834e6a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentbd657aa3dd8514e62486ce7f90b5e484c18d684d (diff)
perf/x86/intel/lbr: Add a function pointer for LBR reset
The method to reset Architectural LBRs is different from previous model-specific LBR. Perf has to implement a different function. A function pointer is introduced for LBR reset. The enum of LBR_FORMAT_* is also moved to perf_event.h. Perf should initialize the corresponding functions at boot time, and avoid checking lbr_format at run time. The current 64-bit LBR reset function is set as default. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions