utils/collectd: Add cpufreq module
This change enables building of the built-in cpufreq module within Collectd, which is very useful on x86 and mvebu targets that support CPU frequency scaling. Note that luci-app-statistics currently does not have support for rendering this. Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
This commit is contained in:
parent
e32b189944
commit
32b7bce818
1 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=collectd
|
PKG_NAME:=collectd
|
||||||
PKG_VERSION:=5.5.2
|
PKG_VERSION:=5.5.2
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://collectd.org/files/
|
PKG_SOURCE_URL:=http://collectd.org/files/
|
||||||
|
@ -31,7 +31,6 @@ COLLECTD_PLUGINS_DISABLED:= \
|
||||||
battery \
|
battery \
|
||||||
ceph \
|
ceph \
|
||||||
cgroups \
|
cgroups \
|
||||||
cpufreq \
|
|
||||||
curl_json \
|
curl_json \
|
||||||
curl_xml \
|
curl_xml \
|
||||||
dbi \
|
dbi \
|
||||||
|
@ -101,6 +100,7 @@ COLLECTD_PLUGINS_SELECTED:= \
|
||||||
conntrack \
|
conntrack \
|
||||||
contextswitch \
|
contextswitch \
|
||||||
cpu \
|
cpu \
|
||||||
|
cpufreq \
|
||||||
csv \
|
csv \
|
||||||
curl \
|
curl \
|
||||||
df \
|
df \
|
||||||
|
@ -312,6 +312,7 @@ $(eval $(call BuildPlugin,bind,BIND server/zone input,bind,+PACKAGE_collectd-mod
|
||||||
$(eval $(call BuildPlugin,conntrack,connection tracking table size input,conntrack,))
|
$(eval $(call BuildPlugin,conntrack,connection tracking table size input,conntrack,))
|
||||||
$(eval $(call BuildPlugin,contextswitch,context switch input,contextswitch,))
|
$(eval $(call BuildPlugin,contextswitch,context switch input,contextswitch,))
|
||||||
$(eval $(call BuildPlugin,cpu,CPU input,cpu,))
|
$(eval $(call BuildPlugin,cpu,CPU input,cpu,))
|
||||||
|
$(eval $(call BuildPlugin,cpufreq,CPU Freq input,cpufreq,@(TARGET_x86||TARGET_x86_64||TARGET_mvebu))) # Only enable on x86 and mvebu
|
||||||
$(eval $(call BuildPlugin,csv,CSV output,csv,))
|
$(eval $(call BuildPlugin,csv,CSV output,csv,))
|
||||||
$(eval $(call BuildPlugin,curl,cURL input,curl,+PACKAGE_collectd-mod-curl:libcurl))
|
$(eval $(call BuildPlugin,curl,cURL input,curl,+PACKAGE_collectd-mod-curl:libcurl))
|
||||||
#$(eval $(call BuildPlugin,dbi,relational database input,dbi,+PACKAGE_collectd-mod-dbi:libdbi))
|
#$(eval $(call BuildPlugin,dbi,relational database input,dbi,+PACKAGE_collectd-mod-dbi:libdbi))
|
||||||
|
|
Loading…
Reference in a new issue