In `xenpm start` command, the monitor of average frequency shall not depend on the existence of legacy P-states, so removing "px_cap" dependancy check.
Signed-off-by: Penny Zheng <penny.zh...@amd.com> --- v3 -> v4: - new commit --- tools/misc/xenpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index 29fffebebd..b823e5c433 100644 --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -539,7 +539,7 @@ static void signal_int_handler(int signo) res / 1000000UL, 100UL * res / (double)sum_px[i]); } } - if ( px_cap && avgfreq[i] ) + if ( avgfreq[i] ) printf(" Avg freq\t%d\tKHz\n", avgfreq[i]); } -- 2.34.1