tools/power/turbostat: Relocate more probing related code
authorZhang Rui <rui.zhang@intel.com>
Wed, 30 Aug 2023 08:54:51 +0000 (16:54 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:20 +0000 (22:14 +0800)
commit5612b2c89bd0a3a2f7c9e8756e6ead971b03f8a3
treeb324c4c8e2a76b2220039890427078da3bf8d14f
parentce7a32c2a4cdba06ed5ead4ed8f980c893e20cd2
tools/power/turbostat: Relocate more probing related code

Relocate more feature probing code outside of process_cpuids() into the
corresponding probing functions.

This improves the readability of code and the turbostat output.

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