Re: [PATCH v3 1/2] printk: Add function to dump printk buffer directly to consoles
From: John Ogness
Date: Thu Jan 18 2024 - 05:15:10 EST
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