tools/power/turbostat: Add skeleton support for cstate enumeration
authorZhang Rui <rui.zhang@intel.com>
Sun, 27 Aug 2023 14:37:37 +0000 (22:37 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:19 +0000 (22:14 +0800)
commit3c6a17b8ae44b0116e303402803c173fe2a3da92
tree1b2bc5c3e6b671df502a8961787f180d38f3a78e
parent485a017c45200ed82518f6cdeea554f77e9a0562
tools/power/turbostat: Add skeleton support for cstate enumeration

Add skeleton support for cstate enumeration.

Note that the previous logic may override the cstate setting for
multiple times for different reasons. The conversion to new cstate
enumeration must be done step by step following the previous code
order strictly.

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