tools/power/turbostat: Introduce probe_pm_features()
authorZhang Rui <rui.zhang@intel.com>
Wed, 13 Sep 2023 15:32:39 +0000 (23:32 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:21 +0000 (22:14 +0800)
commit7ee39d8d593e3d28eced0fa1a8c8c6bdcbd4156e
tree727805230fb2b9b3a8d8850644d7dcb8f73d20e6
parent5612b2c89bd0a3a2f7c9e8756e6ead971b03f8a3
tools/power/turbostat: Introduce probe_pm_features()

Feature probe has nothing to do with CPUID, thus it should not be in
process_cpuids().

Introduce probe_pm_features() and move all feature probing functions
into it.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c