RFC Add trace to thermal framework
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | thermal: trace: Trace temperature changesdrivers/ include/ | +42 | 0 replies | |
| 1/3 | thermal: trace: Trace temperature changesdrivers/ include/ | +42 | 0 replies | |
| 2/3 | thermal: trace: Trace when a cooling device's state is updateddrivers/ include/ | +20 | 0 replies | |
| 2/3 | thermal: trace: Trace when a cooling device's state is updateddrivers/ include/ | +20 | 0 replies | |
| 3/3 | thermal: trace: Trace when temperature is above a trip pointdrivers/ drivers/ drivers/ +1 more | +42 | 10 replies | |
| 3/3 | thermal: trace: Trace when temperature is above a trip pointdrivers/ drivers/ drivers/ +1 more | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Add trace to thermal framework
Hi linux-pm,
The linux thermal framework doesn't have any support for tracing. This makes it hard to run workloads and observe the thermal behaviour of the system without actively polling files in sysfs or enabling debug builds.
This patch set introduces trace events in the framework to allow observing the behaviour of the different components in the framework. The events added trace temperature changes, trip points and cooling device state changes.
The patches are based on v3.15-rc8.
Cheers,
Punit
Punit Agrawal (3):
thermal: trace: Trace temperature changes
thermal: trace: Trace when a cooling device's state is updated
thermal: trace: Trace when temperature is above a trip point
drivers/thermal/fair_share.c | 7 +++- drivers/thermal/step_wise.c | 5 ++- drivers/thermal/thermal_core.c | 7 ++++ include/trace/events/thermal.h | 87 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 2 deletions(-) create mode 100644 include/trace/events/thermal.h
Signature · 1 line
1.7.10.4