diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2020-07-23 10:11:05 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-08-18 16:34:34 +0200 |
commit | 60a2a271cf05cf046c522e1d7f62116b4bcb32a2 (patch) | |
tree | 16e4c0a3a7465dc1b86f1f907d59a5c17f9f8662 /tools/perf/scripts/python/exported-sql-viewer.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 <peterz@infradead.org>
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/20200723171117.9918-3-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions