aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-08-07 18:17:07 +0000
committerRafael J. Wysocki <[email protected]>2023-08-17 09:25:22 +0000
commit9caaad2ca02cb31fc235249f971cabdf8e11e28d (patch)
tree1ddd64afa3057eac9444b6c3b99365b10288884c /tools/perf/scripts/python
parentACPI: thermal: Use trip point table to register thermal zones (diff)
downloadkernel-9caaad2ca02cb31fc235249f971cabdf8e11e28d.tar.gz
kernel-9caaad2ca02cb31fc235249f971cabdf8e11e28d.zip
ACPI: thermal: Rework thermal_get_trend()
Rework the ACPI thermal driver's .get_trend() callback function, thermal_get_trend(), so that it does not call thermal_get_trip_type() and thermal_get_trip_temp() which are going to be dropped. This reduces the overhead of the function too, because it will always carry out a trip point lookup once after the change. Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions