summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2015-02-05 14:18:18 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-02-05 16:51:03 +0100
commit8c9dddfb22f8e098dcee65f329b59c3570af9296 (patch)
tree892417f4d4ccb3531cd6396dd20dfe4eb19bb229 /rules
parent7e89b362fa74a071ecfa9e2bc54ec64bad4c31f6 (diff)
downloadptxdist-8c9dddfb22f8e098dcee65f329b59c3570af9296.tar.gz
ptxdist-8c9dddfb22f8e098dcee65f329b59c3570af9296.tar.xz
collectd: add support for cpu plugin
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/collectd.in9
-rw-r--r--rules/collectd.make2
2 files changed, 10 insertions, 1 deletions
diff --git a/rules/collectd.in b/rules/collectd.in
index a93fc56c3..1039c216f 100644
--- a/rules/collectd.in
+++ b/rules/collectd.in
@@ -28,4 +28,13 @@ config COLLECTD_RRDTOOL
With the RRDtool plugin, collectd writes values into a
round-robin database, using librrd.
+comment "Read Plugins"
+
+config COLLECTD_CPU
+ bool
+ prompt "cpu"
+ help
+ The CPU plugin collects data about what your CPU is actually doing,
+ and if it is being idle or in the various states.
+
endif
diff --git a/rules/collectd.make b/rules/collectd.make
index b6e82392c..00b5b3809 100644
--- a/rules/collectd.make
+++ b/rules/collectd.make
@@ -31,6 +31,7 @@ COLLECTD_LICENSE := GPL2
COLLECTD_ENABLE-$(PTXCONF_COLLECTD_SYSLOG) += syslog
COLLECTD_ENABLE-$(PTXCONF_COLLECTD_RRDTOOL) += rrdtool
+COLLECTD_ENABLE-$(PTXCONF_COLLECTD_CPU) += cpu
#
# autoconf
@@ -60,7 +61,6 @@ COLLECTD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--disable-conntrack \
--disable-contextswitch \
--disable-cpufreq \
- --disable-cpu \
--disable-csv \
--disable-curl \
--disable-curl_json \