diff options
author | John Ogness <[email protected]> | 2022-11-16 17:27:21 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-12-02 11:25:00 +0100 |
commit | d25a2e748ae159e43d40f4bc0a9e89cc443e325f (patch) | |
tree | c04c03454c3c78eea0a2240123552acb437ddc1f /tools/perf/scripts/python/task-analyzer.py | |
parent | 0fb413ea64603a71e19b4b15a6c5b704e3897d06 (diff) |
tty: tty_io: document console_lock usage
show_cons_active() uses the console_lock to gather information
on registered consoles. Since the console_lock is being used for
multiple reasons, explicitly document these reasons. This will
be useful when the console_lock is split into fine-grained
locking.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions