diff options
author | Marcos Paulo de Souza <[email protected]> | 2024-11-05 16:45:08 -0300 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2024-11-11 12:53:31 +0100 |
commit | ed76c07c6885b249ce8486dac22fb97151a83185 (patch) | |
tree | 561f88a4019769122c588316516f0dc1172313dc /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | c903327d3295b135eb8c81ebe0b68c1837718eb8 (diff) |
printk: Introduce FORCE_CON flag
Introduce FORCE_CON flag to printk. The new flag will make it possible to
create a context where printk messages will never be suppressed.
This mechanism will be used in the next patch to create a force_con
context on sysrq handling, removing an existing workaround on the
loglevel global variable. The workaround existed to make sure that sysrq
header messages were sent to all consoles, but this doesn't work with
deferred messages because the loglevel might be restored to its original
value before a console flushes the messages.
Signed-off-by: Marcos Paulo de Souza <[email protected]>
Reviewed-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions