-
- Downloads
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple thermal relationship between processor and fan has become past for modern computers. As hardware vendors cope with the thermal constraints on their products, more sensors are added, new cooling capabilities are introduced. The complexity of the thermal relationship can grow exponentially among cooling devices, zones, sensors, and trip points. They can also change dynamically. To expose such relationship to the userspace, Linux generic thermal layer introduced sysfs entry at /sys/class/thermal with a matrix of symbolic links, trip point bindings, and device instances. To traverse such matrix by hand is not a trivial task. Testing is also difficult in that thermal conditions are often exception cases that hard to reach in normal operations. TMON is conceived as a tool to help visualize, tune, and test the complex thermal subsystem. Signed-off-by:Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by:
Zhang Rui <rui.zhang@intel.com>
Showing
- tools/Makefile 13 additions, 2 deletionstools/Makefile
- tools/thermal/tmon/Makefile 47 additions, 0 deletionstools/thermal/tmon/Makefile
- tools/thermal/tmon/README 50 additions, 0 deletionstools/thermal/tmon/README
- tools/thermal/tmon/pid.c 131 additions, 0 deletionstools/thermal/tmon/pid.c
- tools/thermal/tmon/sysfs.c 596 additions, 0 deletionstools/thermal/tmon/sysfs.c
- tools/thermal/tmon/tmon.8 142 additions, 0 deletionstools/thermal/tmon/tmon.8
- tools/thermal/tmon/tmon.c 352 additions, 0 deletionstools/thermal/tmon/tmon.c
- tools/thermal/tmon/tmon.h 204 additions, 0 deletionstools/thermal/tmon/tmon.h
- tools/thermal/tmon/tui.c 638 additions, 0 deletionstools/thermal/tmon/tui.c
Loading
Please register or sign in to comment