diff options
author | Kan Liang <[email protected]> | 2020-07-23 10:11:12 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-08-18 16:34:36 +0200 |
commit | 0e2e45e2ded4988f5641115fd996c75dc32e4be3 (patch) | |
tree | 86090dd85afbbac4faf9dd09b1a79325037a5cb5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7b2c05a15d29d0570a0d21da1e4fd5cbc85cbf13 (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 <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions