summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-12 20:41:06 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-26 17:57:28 +0200
commit30f04c7535e464f1824edb02e736a50be018777b (patch)
tree7a452c2e446a1e252c2a654c71af7385e9ee0aaa /tools/perf/scripts/python/stat-cpi.py
parent06a5f76ee104c17022425ade32b970c1d7793e01 (diff)
ACPI: thermal: Simplify critical and hot trips representation
Notice that the only piece of information regarding the critical and hot trips that needs to be stored in the driver's local data structures is whether or not these trips are valid, so drop all of the redundant information from there and adjust the code accordingly. Among other things, this requires acpi_thermal_add() to be rearranged so as to obtain the critical trip temperature before populating the trip points table and for symmetry, the hot trip temperature is obtained earlier too. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions