luci-app-statistics: add support for CPU frequency scaling stats
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 8 Nov 2016 20:24:56 +0000 (22:24 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 8 Nov 2016 20:24:56 +0000 (22:24 +0200)
commitdf3c8728b995026a6df13efaf9a782b486de9ec5
treee82d0a96f2f6fd80bf114822787ca415edbb6975
parent3936e79cf8d5d6df7c2c529dd1daacbd8d5ed31b
luci-app-statistics: add support for CPU frequency scaling stats

Add support for 'cpufreq' plugin in collectd, which monitors
the CPU cores' frequencies. Some platforms enable dynamic
frequency scaling according to CPU load.

'cpufreq' plugin can currently be built for x86 and mvebu.
(and it should likely be enabled also for ipq806x)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpufreq.lua [new file with mode: 0644]
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua [new file with mode: 0644]
applications/luci-app-statistics/root/etc/config/luci_statistics
applications/luci-app-statistics/root/usr/bin/stat-genconfig