• Jacob Pan's avatar
    tools/thermal: Introduce tmon, a tool for thermal subsystem · 94f69966
    Jacob Pan authored
    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: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
    Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
    94f69966
tmon.c 8.02 KB