diff options
author | Kan Liang <[email protected]> | 2020-07-23 10:11:05 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-08-18 16:34:34 +0200 |
commit | 60a2a271cf05cf046c522e1d7f62116b4bcb32a2 (patch) | |
tree | 16e4c0a3a7465dc1b86f1f907d59a5c17f9f8662 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 75608cb02ea5dd997990e2998eca3670cb71a18c (diff) |
perf/x86/intel: Name the global status bit in NMI handler
Magic numbers are used in the current NMI handler for the global status
bit. Use a meaningful name to replace the magic numbers to improve the
readability of the code.
Remove a Tab for all GLOBAL_STATUS_* and INTEL_PMC_IDX_FIXED_BTS macros
to reduce the length of the line.
Suggested-by: Peter Zijlstra <[email protected]>
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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions