Oops, for the current mainline code it is actually even simpler because the console_unlock() will perform the flushing: void dump_printk_buffer(void) { console_lock(); console_rewind_all(); console_unlock(); } John
Oops, for the current mainline code it is actually even simpler because the console_unlock() will perform the flushing: void dump_printk_buffer(void) { console_lock(); console_rewind_all(); console_unlock(); } John