diff options
author | John Ogness <john.ogness@linutronix.de> | 2024-08-20 08:35:44 +0206 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-08-21 14:56:24 +0200 |
commit | fc400d5f63570afdadd718ae962cf5aa0feeace6 (patch) | |
tree | 0eefe14fc5dc47810f2b22211be533e56a07fde5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 20846d1ce2adacd2b1f8672e24d6acb26b2e757b (diff) |
printk: Add @flags argument for console_is_usable()
The caller of console_is_usable() usually needs @console->flags
for its own checks. Rather than having console_is_usable() read
its own copy, make the caller pass in the @flags. This also
ensures that the caller saw the same @flags value.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20240820063001.36405-19-john.ogness@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions