tools/power turbostat: Remove add_rapl_perf_counter_()
authorZhang Rui <rui.zhang@intel.com>
Sat, 17 May 2025 04:06:22 +0000 (12:06 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 8 Jun 2025 18:10:16 +0000 (14:10 -0400)
commitc8bca955da22269db80576c676eb50a5ef156832
tree29cf14f956786a991a0cb14110c8f1203a5e9be3
parent57b53787f0f7845eb30aedde75464aca37906985
tools/power turbostat: Remove add_rapl_perf_counter_()

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

Remove add_rapl_perf_counter_() and move all the logic to
add_rapl_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