Re: [RFC PATCH 3/4] cpufreq: Add Active Stats calls tracking frequency changes

From: Lukasz Luba
Date: Wed Jun 23 2021 - 05:14:49 EST




On 6/23/21 4:15 AM, Viresh Kumar wrote:
On 22-06-21, 12:07, Lukasz Luba wrote:
That cpufreq_stats_record_transition() is present only if
CONFIG_CPU_FREQ_STAT is set. I didn't wanted to be dependent on
this config.

Right, but you can also update the dummy
cpufreq_stats_record_transition() function as well and you won't
depend on the CONFIG then.

It would look a bit 'hidden', but I can do that.
It will require the header active_stats.h in that cpufreq.h
to add the line in the empty cpufreq_stats_record_transition().

If Rafael would also agree, then I can put it there.