summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-07-23 10:11:12 -0700
committerPeter Zijlstra <peterz@infradead.org>2020-08-18 16:34:36 +0200
commit0e2e45e2ded4988f5641115fd996c75dc32e4be3 (patch)
tree86090dd85afbbac4faf9dd09b1a79325037a5cb5 /tools/perf/scripts/python/intel-pt-events.py
parent7b2c05a15d29d0570a0d21da1e4fd5cbc85cbf13 (diff)
perf/x86: Add a macro for RDPMC offset of fixed counters
The RDPMC base offset of fixed counters is hard-code. Use a meaningful name to replace the magic number to improve the readability of the code. 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-10-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions