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:35:40 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-26 17:56:12 +0200
commit4be32333d941a53dcfb48e342c808c63a3b25576 (patch)
tree1b26118c6e47dfd27803d969361801e0bde4e62e /tools/perf/scripts/python/stat-cpi.py
parent6465e260f48790807eef06b583b38ca9789b6072 (diff)
ACPI: thermal: Simplify initialization of critical and hot trips
Use the observation that the critical and hot trip points are never updated by the ACPI thermal driver, because the flags passed from acpi_thermal_notify() to acpi_thermal_trips_update() do not include ACPI_TRIPS_CRITICAL or ACPI_TRIPS_HOT, to move the initialization of those trip points directly into acpi_thermal_get_trip_points() and reduce the size of __acpi_thermal_trips_update(). Also make the critical and hot trip points initialization code more straightforward and drop the flags that are not needed any more. 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