aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2023-08-27 21:52:53 +0800
committerZhang Rui <rui.zhang@intel.com>2023-09-27 22:14:18 +0800
commit45232ab168a3c5abad86eafaef2beed8d7037666 (patch)
treef5e82fab560eb1448f369a3b83d6cfe8f43313b3 /tools/perf/scripts/python/stackcollapse.py
parenttools/power/turbostat: Remove pseudo check for two models (diff)
downloadlinux-45232ab168a3c5abad86eafaef2beed8d7037666.tar.gz
linux-45232ab168a3c5abad86eafaef2beed8d7037666.zip
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 <rui.zhang@intel.com> Reviewed-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions