From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: daniel.lezcano@linaro.org, rafael@kernel.org
Cc: srinivas.pandruvada@linux.intel.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH v1 0/4] Thermal library and tools
Date: Fri, 18 Feb 2022 13:53:30 +0100 [thread overview]
Message-ID: <20220218125334.995447-1-daniel.lezcano@linaro.org> (raw)
This series provides a thermal library providing the basic callback oriented
netlink communication and events with the thermal framework, a temperature
capture tool and a thermal monitoring skeleton using the thermal library.
Changelog:
- V1:
- Took into account RFC comments (unsubscribe, error enum, thermal daemon
renamed to thermal-engine)
Daniel Lezcano (4):
tools/lib/thermal: Add a thermal library
tools/thermal: Add util library
tools/thermal: A temperature capture tool
tools/thermal: Add thermal daemon skeleton
tools/Makefile | 36 +-
tools/lib/thermal/.gitignore | 2 +
tools/lib/thermal/Build | 5 +
tools/lib/thermal/Makefile | 165 ++++++++
tools/lib/thermal/commands.c | 351 ++++++++++++++++
tools/lib/thermal/events.c | 164 ++++++++
tools/lib/thermal/include/thermal.h | 141 +++++++
tools/lib/thermal/libthermal.map | 25 ++
tools/lib/thermal/libthermal.pc.template | 12 +
tools/lib/thermal/sampling.c | 75 ++++
tools/lib/thermal/thermal.c | 126 ++++++
tools/lib/thermal/thermal_nl.c | 215 ++++++++++
tools/lib/thermal/thermal_nl.h | 46 ++
tools/thermal/lib/Build | 3 +
tools/thermal/lib/Makefile | 158 +++++++
.../thermal/lib/libthermal_tools.pc.template | 12 +
tools/thermal/lib/log.c | 77 ++++
tools/thermal/lib/log.h | 31 ++
tools/thermal/lib/mainloop.c | 135 ++++++
tools/thermal/lib/mainloop.h | 14 +
tools/thermal/lib/thermal-tools.h | 10 +
tools/thermal/lib/uptimeofday.c | 40 ++
tools/thermal/lib/uptimeofday.h | 12 +
tools/thermal/thermal-engine/Build | 2 +
tools/thermal/thermal-engine/Makefile | 27 ++
tools/thermal/thermal-engine/thermal-engine.c | 287 +++++++++++++
tools/thermal/thermometer/Build | 2 +
tools/thermal/thermometer/Makefile | 23 +
tools/thermal/thermometer/thermometer.c | 393 ++++++++++++++++++
tools/thermal/thermometer/thermometer.conf | 5 +
30 files changed, 2591 insertions(+), 3 deletions(-)
create mode 100644 tools/lib/thermal/.gitignore
create mode 100644 tools/lib/thermal/Build
create mode 100644 tools/lib/thermal/Makefile
create mode 100644 tools/lib/thermal/commands.c
create mode 100644 tools/lib/thermal/events.c
create mode 100644 tools/lib/thermal/include/thermal.h
create mode 100644 tools/lib/thermal/libthermal.map
create mode 100644 tools/lib/thermal/libthermal.pc.template
create mode 100644 tools/lib/thermal/sampling.c
create mode 100644 tools/lib/thermal/thermal.c
create mode 100644 tools/lib/thermal/thermal_nl.c
create mode 100644 tools/lib/thermal/thermal_nl.h
create mode 100644 tools/thermal/lib/Build
create mode 100644 tools/thermal/lib/Makefile
create mode 100644 tools/thermal/lib/libthermal_tools.pc.template
create mode 100644 tools/thermal/lib/log.c
create mode 100644 tools/thermal/lib/log.h
create mode 100644 tools/thermal/lib/mainloop.c
create mode 100644 tools/thermal/lib/mainloop.h
create mode 100644 tools/thermal/lib/thermal-tools.h
create mode 100644 tools/thermal/lib/uptimeofday.c
create mode 100644 tools/thermal/lib/uptimeofday.h
create mode 100644 tools/thermal/thermal-engine/Build
create mode 100644 tools/thermal/thermal-engine/Makefile
create mode 100644 tools/thermal/thermal-engine/thermal-engine.c
create mode 100644 tools/thermal/thermometer/Build
create mode 100644 tools/thermal/thermometer/Makefile
create mode 100644 tools/thermal/thermometer/thermometer.c
create mode 100644 tools/thermal/thermometer/thermometer.conf
--
2.25.1
next reply other threads:[~2022-02-18 12:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 12:53 Daniel Lezcano [this message]
2022-02-18 12:53 ` [PATCH v1 1/4] tools/lib/thermal: Add a thermal library Daniel Lezcano
2022-02-18 12:53 ` [PATCH v1 2/4] tools/thermal: Add util library Daniel Lezcano
2022-02-18 12:53 ` [PATCH v1 3/4] tools/thermal: A temperature capture tool Daniel Lezcano
2022-02-18 12:53 ` [PATCH v1 4/4] tools/thermal: Add thermal daemon skeleton Daniel Lezcano
2022-02-24 21:41 ` [PATCH v1 0/4] Thermal library and tools Daniel Lezcano
2022-02-25 1:25 ` srinivas pandruvada
2022-02-25 8:39 ` Daniel Lezcano
2022-02-28 17:13 ` srinivas pandruvada
2022-03-09 15:42 ` Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220218125334.995447-1-daniel.lezcano@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox