<div dir="ltr">Dear collectd devs:<div><br></div><div>I would like to collect statistics on CPU frequencies, but in a different form than it is provided in current cpufreq plugin. Namely, Linux reports distribution of used cpu frequencies through <a href="https://www.kernel.org/doc/Documentation/cpu-freq/cpufreq-stats.txt">https://www.kernel.org/doc/Documentation/cpu-freq/cpufreq-stats.txt</a> . So, instead of collecting a single value, I'd be collecting how much of each frequency was used between two readouts. This makes sense for platforms were the readouts are not frequent and cpu frequency stats is important. I am interested in it since it would give a better stats on CPU frequencies on Sailfish.</div><div><br></div><div>At the same time, I was planning not to push the stats for each CPU separately, but collect them all into one average CPU stat.</div><div><br></div><div>With these plans in mind: should I develop it as an extension of current cpufreq or make a new plugin? In general, it looks to me, that if I join it into one plugin, each function would be basically split by large if (stat_code) { } else { }.</div><div><br></div><div>cheers,</div><div><br></div><div>rinigus</div><div><br></div></div>