[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 05/13] xenpm: Change get-cpufreq-para output for internal
On 26.05.2021 17:21, Jan Beulich wrote: > On 03.05.2021 21:28, Jason Andryuk wrote: >> --- a/tools/misc/xenpm.c >> +++ b/tools/misc/xenpm.c >> @@ -711,6 +711,7 @@ void start_gather_func(int argc, char *argv[]) >> /* print out parameters about cpu frequency */ >> static void print_cpufreq_para(int cpuid, struct xc_get_cpufreq_para >> *p_cpufreq) >> { >> + bool internal = strstr(p_cpufreq->scaling_governor, "internal"); > > Like suggested for the hypervisor, perhaps better check for names > ending in "-internal"? Thinking about it more, the adjustments you make aren't necessarily applicable to other hypothetical internal governors, are they? In which case you rather want to check for hwp specifically. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |