diff options
author | 2024-11-15 06:08:01 +0000 | |
---|---|---|
committer | 2024-12-02 12:01:36 +0100 | |
commit | cd29d83a6d815bf8472c9aa3cdd1dcb89cc4c419 (patch) | |
tree | 69c621a0d308c350822e42fe42f452786377ab2d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf/x86/rapl: Rename rapl_pmu variables (diff) | |
download | wireguard-linux-cd29d83a6d815bf8472c9aa3cdd1dcb89cc4c419.tar.xz wireguard-linux-cd29d83a6d815bf8472c9aa3cdd1dcb89cc4c419.zip |
perf/x86/rapl: Make rapl_model struct global
Prepare for the addition of RAPL core energy counter support.
As there will always be just one rapl_model variable on a system, make it
global, to make it easier to access it from any function.
No functional change.
Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: "Gautham R. Shenoy" <gautham.shenoy@amd.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20241115060805.447565-6-Dhananjay.Ugwekar@amd.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions