[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wnb9pk8k.fsf@jogness.linutronix.de>
Date: Mon, 15 Aug 2022 18:09:23 +0206
From: John Ogness <john.ogness@...utronix.de>
To: Sergey Senozhatsky <senozhatsky@...omium.org>,
Marc Aurèle La France
<tsi@...oix.net>
Cc: Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH] printk: Export log_buf_len to userland
On 2022-08-15, Sergey Senozhatsky <senozhatsky@...omium.org> wrote:
> On (22/08/10 14:25), Marc Aurèle La France wrote:
>>
>> Make the kernel log's buffer size available to userland so it can be
>> used with `dmesg -s`.
This information is already available via:
klogctl(SYSLOG_ACTION_SIZE_BUFFER, NULL, 0)
And dmesg already uses this with "dmesg -S".
John Ogness
Powered by blists - more mailing lists