aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVincent Donnefort <[email protected]>2018-09-03 09:02:07 +0900
committerMyungJoo Ham <[email protected]>2018-10-02 10:16:41 +0900
commit2f061fd0c2d852e32e03a903fccd810663c5c31e (patch)
tree9cd1724ec2a4cf6aeb03d1e56c65d6fa371588d3 /tools/perf/scripts/python/exported-sql-viewer.py
parentf037eb8c1f476bc903d99695c1eb9f99ccb46b27 (diff)
PM / devfreq: stopping the governor before device_unregister()
device_release() is freeing the resources before calling the device specific release callback which is, in the case of devfreq, stopping the governor. It is a problem as some governors are using the device resources. e.g. simpleondemand which is using the devfreq deferrable monitoring work. If it is not stopped before the resources are freed, it might lead to a use after free. Signed-off-by: Vincent Donnefort <[email protected]> Reviewed-by: John Einar Reitan <[email protected]> [cw00.choi: Fix merge conflict] Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions