]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3cbf538d48c6570e98bf0dae09b8879538b7e86f
treecdfea93835f92e9bcb2b8605cdf9e815d8d98bbd
parent9478647c13a262ac9f32dea428b9e24499868760
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]