diff options
author | Stephane Eranian <eranian@google.com> | 2020-05-27 15:46:56 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-05-28 07:58:55 +0200 |
commit | 5c95c68949880035b68e5c48fdf4899ec0989631 (patch) | |
tree | 3a8da665156905f47552996d5a257f2de9789d28 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | fd3ae1e1587d64ef8cc8e361903d33625458073e (diff) |
perf/x86/rapl: Refactor to share the RAPL code between Intel and AMD CPUs
This patch modifies the rapl_model struct to include architecture specific
knowledge in this previously Intel specific structure, and in particular
it adds the MSR for POWER_UNIT and the rapl_msrs array.
No functional changes.
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200527224659.206129-3-eranian@google.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions