mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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:
committed by
Peter Korsgaard
parent
81456f1e92
commit
0c48707f48
@@ -157,6 +157,11 @@ config BR2_PACKAGE_COLLECTD_CPUFREQ
|
|||||||
help
|
help
|
||||||
Collects the current CPU's frequency.
|
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
|
config BR2_PACKAGE_COLLECTD_CURL
|
||||||
bool "curl"
|
bool "curl"
|
||||||
select BR2_PACKAGE_LIBCURL
|
select BR2_PACKAGE_LIBCURL
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ COLLECTD_CONF_OPTS += \
|
|||||||
$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
|
$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
|
||||||
$(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \
|
$(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \
|
||||||
$(if $(BR2_PACKAGE_COLLECTD_CPUFREQ),--enable-cpufreq,--disable-cpufreq) \
|
$(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_CSV),--enable-csv,--disable-csv) \
|
||||||
$(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \
|
$(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \
|
||||||
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \
|
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \
|
||||||
|
|||||||
Reference in New Issue
Block a user