diff options
author | Petr Mladek <[email protected]> | 2018-09-13 14:34:06 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2018-10-02 15:11:40 +0200 |
commit | f92b070f2dc89a8ff1a0cc8b608e20abef894c7d (patch) | |
tree | bdeda51aab833dc77d462e452a5dae05103a237e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a06b0c82a049d34d4dc273e8692ed0894458c468 (diff) |
printk: Do not miss new messages when replaying the log
The variable "exclusive_console" is used to reply all existing messages
on a newly registered console. It is cleared when all messages are out.
The problem is that new messages might appear in the meantime. These
are then visible only on the exclusive console.
The obvious solution is to clear "exclusive_console" after we replay
all messages that were already proceed before we started the reply.
Reported-by: Sergey Senozhatsky <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
To: Steven Rostedt <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: [email protected]
Acked-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions