Messages in this thread | | | Subject | Re: [RFC PATCH 3/4] cpufreq: Add Active Stats calls tracking frequency changes | From | Lukasz Luba <> | Date | Wed, 23 Jun 2021 10:14:43 +0100 |
| |
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.
| |