From: "Marc Aurèle La France" <tsi@tuyoix.net>
To: John Ogness <john.ogness@linutronix.de>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>,
Petr Mladek <pmladek@suse.com>,
linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH] printk: Export log_buf_len to userland
Date: Mon, 15 Aug 2022 14:01:35 -0600 (Mountain Daylight Time) [thread overview]
Message-ID: <alpine.WNT.2.20.2208151359540.1956@CLUIJ> (raw)
In-Reply-To: <87wnb9pk8k.fsf@jogness.linutronix.de>
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Mon, 15 Aug 2022, John Ogness wrote:
> On 2022-08-15, Sergey Senozhatsky <senozhatsky@chromium.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".
Thanks for the much more helpful reply.
Have a great day.
Marc.
prev parent reply other threads:[~2022-08-15 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 20:25 [PATCH] printk: Export log_buf_len to userland Marc Aurèle La France
2022-08-15 2:15 ` Sergey Senozhatsky
2022-08-15 16:03 ` John Ogness
2022-08-15 20:01 ` Marc Aurèle La France [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.WNT.2.20.2208151359540.1956@CLUIJ \
--to=tsi@tuyoix.net \
--cc=john.ogness@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pmladek@suse.com \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox