aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-11-16 17:27:35 +0106
committerPetr Mladek <pmladek@suse.com>2022-12-02 11:25:01 +0100
commitde61a1a3a08307103d4ccfe59724bc05570e5abd (patch)
tree08a617bee295bbaec5fcc2be527b67e9a3b81c95 /tools/perf/scripts/python/bin/stackcollapse-record
parentserial_core: replace uart_console_enabled() with uart_console_registered() (diff)
downloadlinux-de61a1a3a08307103d4ccfe59724bc05570e5abd.tar.gz
linux-de61a1a3a08307103d4ccfe59724bc05570e5abd.zip
tty: nfcon: use console_is_registered()
Currently CON_ENABLED is being (mis)used to identify if the console has been registered. This is not reliable because it can be set even though registration failed or it can be unset, even though the console is registered. Use console_is_registered() instead. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20221116162152.193147-24-john.ogness@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions