summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2019-04-30 17:53:47 -0700
committerIngo Molnar <mingo@kernel.org>2019-06-17 12:36:21 +0200
commit07ce734dd8adc0f170d43c15a9b91b707a21b9d7 (patch)
tree7d05ad95398ef3921ebf37391a002c1ef61f4e14 /tools/perf/scripts/python/export-to-postgresql.py
parent3da04b8a00dd6d39970b9e764b78c5dfb40ec013 (diff)
downloadlwn-07ce734dd8adc0f170d43c15a9b91b707a21b9d7.tar.gz
lwn-07ce734dd8adc0f170d43c15a9b91b707a21b9d7.zip
perf/x86/intel/uncore: Clean up client IMC
The client IMC block is accessed by MMIO. Current code uses an informal way to access the block, which is not recommended. Clean up the code by using __iomem annotation and the accessor functions (read[lq]()). Move exit_box() and read_counter() to generic code, which can be shared with the server code later. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: acme@kernel.org Cc: eranian@google.com Link: https://lkml.kernel.org/r/1556672028-119221-6-git-send-email-kan.liang@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions