aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2023-08-27 21:52:53 +0800
committerZhang Rui <[email protected]>2023-09-27 22:14:18 +0800
commit45232ab168a3c5abad86eafaef2beed8d7037666 (patch)
treef5e82fab560eb1448f369a3b83d6cfe8f43313b3 /tools/perf/scripts/python
parent48674c1bb6124fe392e8fed80a39fcb3f62e6551 (diff)
tools/power/turbostat: Add skeleton support for table driven feature enumeration
Turbostat supports a series of features that may diverge among different CPU models. Current code uses various of CPU model checks in different places to handle this, which makes the code hard to maintain. Add skeleton support for table driven feature enumeration to replace the current error-prone CPU model checks and global variables. Note: by comparing the CPU models with intel-family.h, it is found that turbostat support for below four Models are missing, including INTEL_FAM6_ICELAKE, INTEL_FAM6_ATOM_SILVERMONT_MID, INTEL_FAM6_ATOM_AIRMONT_MID and INTEL_FAM6_ATOM_AIRMONT_NP. Adding support for these models is a different work, thus it is not covered in this patch set. Signed-off-by: Zhang Rui <[email protected]> Reviewed-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions