diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-04-20 19:09:30 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-05-19 13:11:51 +0300 |
commit | 3b7c5e8adf9ca64f8dd70279076de085ea6369d7 (patch) | |
tree | cdfea93835f92e9bcb2b8605cdf9e815d8d98bbd /tools/thermal/lib/thermal-tools.h | |
parent | 47c4b0de080adc125526aa80221c4e3ffbf97b6d (diff) | |
download | linux-3b7c5e8adf9ca64f8dd70279076de085ea6369d7.tar.xz |
tools/thermal: Add util library
The next changes will provide a couple of tools using some common
functions provided by this library.
It provides basic wrappers for:
- mainloop
- logging
- timestamp
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-3-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/thermal/lib/thermal-tools.h')
-rw-r--r-- | tools/thermal/lib/thermal-tools.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/thermal/lib/thermal-tools.h b/tools/thermal/lib/thermal-tools.h new file mode 100644 index 000000000000..f43939a468a3 --- /dev/null +++ b/tools/thermal/lib/thermal-tools.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +/* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org> */ +#ifndef __THERMAL_TOOLS +#define __THERMAL_TOOLS + +#include "log.h" +#include "mainloop.h" +#include "uptimeofday.h" + +#endif |