Re: [PATCH] cpufreq: stats: clear statistics

2016-11-03 Thread Viresh Kumar
On 04-11-16, 01:28, Rafael J. Wysocki wrote: > On Thu, Nov 3, 2016 at 9:46 PM, Markus Mayer wrote: > > From: Markus Mayer > > > > Allow cpufreq statistics to be cleared by writing anything to > > /sys/.../cpufreq/stats/reset. Reading this new sysfs entry returns > > nothing. > > > > Resetting the

Re: [PATCH] cpufreq: stats: clear statistics

2016-11-03 Thread Rafael J. Wysocki
On Thu, Nov 3, 2016 at 9:46 PM, Markus Mayer wrote: > From: Markus Mayer > > Allow cpufreq statistics to be cleared by writing anything to > /sys/.../cpufreq/stats/reset. Reading this new sysfs entry returns > nothing. > > Resetting the statistics can be useful in a test environment (test > gover

[PATCH] cpufreq: stats: clear statistics

2016-11-03 Thread Markus Mayer
From: Markus Mayer Allow cpufreq statistics to be cleared by writing anything to /sys/.../cpufreq/stats/reset. Reading this new sysfs entry returns nothing. Resetting the statistics can be useful in a test environment (test governor, retrieve stats, reset stats, test other governor, etc.). This