tools/power turbostat: Remove add_cstate_perf_counter_()
authorZhang Rui <rui.zhang@intel.com>
Sat, 17 May 2025 07:43:59 +0000 (15:43 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 8 Jun 2025 18:10:16 +0000 (14:10 -0400)
commit4d6ced7bef959701533d1e5c003872e837318e38
tree6b9f9e5ed6242a81038a2d0c9ead0a34c1c1373e
parentc8bca955da22269db80576c676eb50a5ef156832
tools/power turbostat: Remove add_cstate_perf_counter_()

As the only caller of add_cstate_perf_counter_(),
add_cstate_perf_counter() just gives extra debug output on top. There is
no need to keep both functions.

Remove add_cstate_perf_counter_() and move all the logic to
add_cstate_perf_counter().

No functional change.

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