diff options
author | Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> | 2024-11-15 06:08:01 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-12-02 12:01:36 +0100 |
commit | cd29d83a6d815bf8472c9aa3cdd1dcb89cc4c419 (patch) | |
tree | 69c621a0d308c350822e42fe42f452786377ab2d /scripts/gdb/linux/utils.py | |
parent | 8bf1c86e5ac828d7e8b44fe007bf3b14ac7f2b2d (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions