aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2022-11-16 17:27:34 +0106
committerPetr Mladek <[email protected]>2022-12-02 11:25:01 +0100
commit452b9b24754044eced1508f9090611f3d9aa4ca5 (patch)
tree2a62bf857667426d2b2edc65da299276cc45c69a /tools/perf/scripts/python/task-analyzer.py
parent1fd4224a6b641f1949e27bf350b5b1c1e47e2ccc (diff)
serial_core: replace uart_console_enabled() with uart_console_registered()
All users of uart_console_enabled() really want to know if a console is registered. It is not reliable to check for CON_ENABLED in order to identify if a console is registered. Use console_is_registered() instead. A _locked() variant is provided because uart_set_options() is always called with the console_list_lock held and must check if a console is registered in order to synchronize with kgdboc. 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