summaryrefslogtreecommitdiff
path: root/tools/thermal/thermometer/thermometer.conf
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2022-04-20 19:09:31 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-05-19 13:11:52 +0300
commit110acbc6a4518145db3a1a9c0686d730bb258bf1 (patch)
treedd21ca3ae6b13d373e317b1a494e10f16fcb21a2 /tools/thermal/thermometer/thermometer.conf
parent3b7c5e8adf9ca64f8dd70279076de085ea6369d7 (diff)
downloadlinux-110acbc6a4518145db3a1a9c0686d730bb258bf1.tar.xz
tools/thermal: Add a temperature capture tool
The 'thermometer' tool allows to capture the temperature of a set of thermal zones defined in a configuration file at a specified rate. It is designed to have the lowest possible overhead. It will write the captured temperature per thermal zone per file so making easier to write a gnuplot script. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20220420160933.347088-4-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/thermal/thermometer/thermometer.conf')
-rw-r--r--tools/thermal/thermometer/thermometer.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/thermal/thermometer/thermometer.conf b/tools/thermal/thermometer/thermometer.conf
new file mode 100644
index 000000000000..02c6dab3b1b3
--- /dev/null
+++ b/tools/thermal/thermometer/thermometer.conf
@@ -0,0 +1,5 @@
+
+thermal-zones = (
+ { name = "cpu[0-9]-thermal";
+ polling = 100; }
+ )