Commit 8b7199c0 authored by Zhang Rui's avatar Zhang Rui

tools/power/turbostat: Rename some functions

Rename dump_nhm_platform_info() and dump_nhm_cst_cfg() to
dump_platform_info() and dump_cst_cfg() because these MSRs' behavior is
consistent when they're available.
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Reviewed-by: default avatarLen Brown <len.brown@intel.com>
parent c2c25e85
......@@ -2823,7 +2823,7 @@ static void calculate_tsc_tweak()
void prewake_cstate_probe(unsigned int family, unsigned int model);
static void dump_nhm_platform_info(void)
static void dump_platform_info(void)
{
unsigned long long msr;
unsigned int ratio;
......@@ -3059,7 +3059,7 @@ static void dump_knl_turbo_ratio_limits(void)
ratio[i], bclk, ratio[i] * bclk, cores[i]);
}
static void dump_nhm_cst_cfg(void)
static void dump_cst_cfg(void)
{
unsigned long long msr;
......@@ -4432,9 +4432,9 @@ static void dump_cstate_pstate_config_info(unsigned int family, unsigned int mod
if (!platform->has_nhm_msrs)
return;
dump_nhm_platform_info();
dump_platform_info();
dump_turbo_ratio_info(family, model);
dump_nhm_cst_cfg();
dump_cst_cfg();
}
static int read_sysfs_int(char *path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment