tools/thermal: Add util library
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Apr 2022 16:09:30 +0000 (18:09 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:51 +0000 (12:11 +0200)
commit3b7c5e8adf9ca64f8dd70279076de085ea6369d7
treecdfea93835f92e9bcb2b8605cdf9e815d8d98bbd
parent47c4b0de080adc125526aa80221c4e3ffbf97b6d
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
tools/thermal/lib/Build [new file with mode: 0644]
tools/thermal/lib/Makefile [new file with mode: 0644]
tools/thermal/lib/libthermal_tools.pc.template [new file with mode: 0644]
tools/thermal/lib/log.c [new file with mode: 0644]
tools/thermal/lib/log.h [new file with mode: 0644]
tools/thermal/lib/mainloop.c [new file with mode: 0644]
tools/thermal/lib/mainloop.h [new file with mode: 0644]
tools/thermal/lib/thermal-tools.h [new file with mode: 0644]
tools/thermal/lib/uptimeofday.c [new file with mode: 0644]
tools/thermal/lib/uptimeofday.h [new file with mode: 0644]