aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2015-02-26 19:00:27 +0000
committerEduardo Valentin <[email protected]>2015-05-04 21:27:52 -0700
commite33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 (patch)
tree8a0602ce3137212c292dec7603c66120665255c8 /tools/perf/scripts/python/syscall-counts.py
parentc610afaa21d3c6e7b02040c8563ffc01c7fc0570 (diff)
thermal: let governors have private data for each thermal zone
A governor may need to store its current state between calls to throttle(). That state depends on the thermal zone, so store it as private data in struct thermal_zone_device. The governors may have two new ops: bind_to_tz() and unbind_from_tz(). When provided, these functions let governors do some initialization and teardown when they are bound/unbound to a tz and possibly store that information in the governor_data field of the struct thermal_zone_device. Cc: Zhang Rui <[email protected]> Cc: Eduardo Valentin <[email protected]> Signed-off-by: Javi Merino <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions