diff options
author | Dhananjay Ugwekar <[email protected]> | 2024-05-02 15:21:14 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-05-02 13:32:21 +0200 |
commit | 626c5acf39ba929a0d82d37e72072e21492a958e (patch) | |
tree | aa39576c1827a2fe7b49fec4195c78bec2cd8130 /lib/debugobjects.c | |
parent | 10ed2b118116b4b766c3b0a4f598809af8522b18 (diff) |
perf/x86/rapl: Rename 'maxdie' to nr_rapl_pmu and 'dieid' to rapl_pmu_idx
AMD CPUs have the scope of RAPL energy-pkg event as package, whereas
Intel Cascade Lake CPUs have the scope as die.
To account for the difference in the energy-pkg event scope between AMD
and Intel CPUs, give more generic and semantically correct names to the
maxdie and dieid variables.
No functional change.
Signed-off-by: Dhananjay Ugwekar <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions