summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-11 01:15:22 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-23 12:57:04 +0300
commitc690dce5dceef1d2818c52f3df2d3511f028632f (patch)
tree6aa1c4d1784ba3eda551eef83cb58cb9bb177be3 /tools/perf/scripts/python/exported-sql-viewer.py
parent6d153f52cc3452258415db6a202cc6d15daa3920 (diff)
downloadlinux-c690dce5dceef1d2818c52f3df2d3511f028632f.tar.xz
thermal: core: Introduce thermal_instance_delete()
It is not necessary to walk the thermal_instances list in a trip descriptor under a cooling device lock, so acquire that lock only for deleting the given thermal instance from the list of thermal instances in the given cdev. Moreover, in analogy with the previous change that introduced thermal_instance_add(), put the code deleting the given thermal instance from the lists it is on into a separate new function called thermal_instance_delete(). No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/3275745.5fSG56mABF@rjwysocki.net Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions