[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87fryvaqxt.fsf@jogness.linutronix.de>
Date: Thu, 18 Jan 2024 11:20:54 +0106
From: John Ogness <john.ogness@...utronix.de>
To: Sreenath Vijayan <sreenath.vijayan@...y.com>, corbet@....net,
gregkh@...uxfoundation.org, jirislaby@...nel.org, rdunlap@...radead.org,
pmladek@...e.com
Cc: rostedt@...dmis.org, senozhatsky@...omium.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, taichi.shimoyashiki@...y.com,
daniel.palmer@...y.com, anandakumar.balasubramaniam@...y.com,
sreenath.vijayan@...y.com
Subject: Re: [PATCH v3 1/2] printk: Add function to dump printk buffer
directly to consoles
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
Powered by blists - more mailing lists