summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-11-16 19:21:35 +0300
committerPetr Mladek <pmladek@suse.com>2022-12-02 13:25:01 +0300
commitde61a1a3a08307103d4ccfe59724bc05570e5abd (patch)
tree08a617bee295bbaec5fcc2be527b67e9a3b81c95 /tools/perf/scripts/python/export-to-sqlite.py
parent452b9b24754044eced1508f9090611f3d9aa4ca5 (diff)
downloadlinux-de61a1a3a08307103d4ccfe59724bc05570e5abd.tar.xz
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions