From: Gustavo Zacarias Date: Thu, 22 Dec 2016 01:59:14 +0000 (-0300) Subject: collectd: add cpusleep plugin support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c48707f48715e744b8bb3fd03d40509147c6aab;p=buildroot.git collectd: add cpusleep plugin support Add explicit support for the new cpusleep dependency-less plugin. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 5e84aa5c5d..d1b85aadbe 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -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 diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk index 5018fb0628..d8b2576c90 100644 --- a/package/collectd/collectd.mk +++ b/package/collectd/collectd.mk @@ -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) \