diff options
author | Rafael J. Wysocki <[email protected]> | 2024-10-16 13:24:57 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-10-24 17:15:06 +0200 |
commit | ca70d55ab0aa4510618ebf6bc5f5da5dd33736d5 (patch) | |
tree | 534a353e21de9e61998afcd9252aa383e1703bb5 /tools/perf/scripts/python/stackcollapse.py | |
parent | bd32eacd955a9e5f6de9e3a168882c3ca2525d73 (diff) |
thermal: core: Prepare for moving trips between sorted lists
Subsequently, trips will be moved between sorted lists in multiple
places, so replace add_trip_to_sorted_list() with an analogous
function, move_trip_to_sorted_list(), that will move a given trip
to a given sorted list.
To allow list_del() used in the new function to work, initialize the
list_node fields in trip descriptors where applicable so they are
always valid.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions