collectd: add cpusleep plugin support

Add explicit support for the new cpusleep dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2016-12-21 22:59:14 -03:00 committed by Peter Korsgaard
parent 81456f1e92
commit 0c48707f48
2 changed files with 6 additions and 0 deletions

View File

@ -157,6 +157,11 @@ config BR2_PACKAGE_COLLECTD_CPUFREQ
help
Collects the current CPU's frequency.
config BR2_PACKAGE_COLLECTD_CPUSLEEP
bool "cpusleep"
help
Measures time spent by CPU in deep sleep mode.
config BR2_PACKAGE_COLLECTD_CURL
bool "curl"
select BR2_PACKAGE_LIBCURL

View File

@ -41,6 +41,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
$(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \
$(if $(BR2_PACKAGE_COLLECTD_CPUFREQ),--enable-cpufreq,--disable-cpufreq) \
$(if $(BR2_PACKAGE_COLLECTD_CPUSLEEP),--enable-cpusleep,--disable-cpusleep) \
$(if $(BR2_PACKAGE_COLLECTD_CSV),--enable-csv,--disable-csv) \
$(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \