diff options
author | Petr Mladek <pmladek@suse.com> | 2021-11-22 14:26:45 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-12-06 14:07:57 +0100 |
commit | ed758b30d541e9bf713cd58612a4414e57dc6d73 (patch) | |
tree | 3fc76fd7e5130a31680f1c0b34e372bdbda574da /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7d5775d49e4a488bc8a07e5abb2b71a4c28aadbb (diff) |
printk/console: Split out code that enables default console
Put the code enabling a console by default into a separate function
called try_enable_default_console().
Rename try_enable_new_console() to try_enable_preferred_console() to
make the purpose of the different variants more clear.
It is a code refactoring without any functional change.
Signed-off-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Link: https://lore.kernel.org/r/20211122132649.12737-2-pmladek@suse.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions