diff options
author | Zhang Rui <rui.zhang@intel.com> | 2023-04-19 10:44:08 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-05-24 18:46:19 +0200 |
commit | 98ff639a7289067247b3ef9dd5d1e922361e7365 (patch) | |
tree | a42391b3923359f6d7aa4ad39574e13db0c1b69d /tools/perf/scripts/python/check-perf-trace.py | |
parent | e8e28c2af16b279b6c37d533e1e73effb197cf2e (diff) |
powercap: intel_rapl: Support per Interface primitive information
RAPL primitive information is Interface specific.
Although current MSR and MMIO Interface share the same RAPL primitives,
new Interface like TPMI has its own RAPL primitive information.
Save the primitive information in the Interface private structure.
Plus, using variant name "rp" for struct rapl_primitive_info is
confusing because "rp" is also used for struct rapl_package.
Use "rpi" as the variant name for struct rapl_primitive_info, and rename
the previous rpi[] array to avoid conflict.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions