summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2021-05-14 16:59:20 +0300
committerBorislav Petkov <bp@suse.de>2021-06-01 22:10:33 +0300
commitcbcddaa33d7e11a053cb80a4a635c023b4f8b906 (patch)
tree9bd52ba379d2970f2d3045cf9c3bf0e82226f57f /tools/perf/scripts/python/export-to-sqlite.py
parent280b68a3b3b96b027fcdeb5a3916a8e2aaf84d03 (diff)
downloadlinux-cbcddaa33d7e11a053cb80a4a635c023b4f8b906.tar.xz
perf/x86/rapl: Use CPUID bit on AMD and Hygon parts
AMD and Hygon CPUs have a CPUID bit for RAPL. Drop the fam17h suffix as it is stale already. Make use of this instead of a model check to work more nicely in virtual environments where RAPL typically isn't available. [ bp: drop the ../cpu/powerflags.c hunk which is superfluous as the "rapl" bit name appears already in flags. ] Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210514135920.16093-1-andrew.cooper3@citrix.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions