tools/power/turbostat: Abstract RAPL MSRs support
authorZhang Rui <rui.zhang@intel.com>
Mon, 28 Aug 2023 07:09:40 +0000 (15:09 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:19 +0000 (22:14 +0800)
commit86ba263d9b72b7766a99059e9b3bd104d089b7fa
tree4056e430f09363484e7541cfe750624626aa7b69
parenta98f886035d5f7e0ec66036dd6bf98b40e75b692
tools/power/turbostat: Abstract RAPL MSRs support

Abstract the support for RAPL MSRs.

Delete CPU model checks in rapl_probe_intel().

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