Re: [PATCH v3 1/2] printk: Add function to dump printk buffer directly to consoles

John Ogness
2024-01-18T10:14:57Z

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