aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-02-03 15:31:30 +0200
committerPetr Mladek <[email protected]>2020-02-11 10:44:22 +0100
commited31685c96e18f773ca11dd1a637974d62130673 (patch)
tree0cb9fcbf8d3ebb43a1382f6a2ed757547963e2b9 /tools/perf/scripts/python
parente78bedbd42b7caa65551f3d56cbff451ccbd0aee (diff)
console: Introduce ->exit() callback
Some consoles might require special operations on unregistering. For instance, serial console, when registered in the kernel, keeps power on for entire time, until it gets unregistered. Example of use: ->setup(console): pm_runtime_get(...); ->exit(console): pm_runtime_put(...); For such cases to have a balance we would provide ->exit() callback. Link: http://lkml.kernel.org/r/[email protected] To: [email protected] To: Steven Rostedt <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions