From: Steven Rostedt <rostedt@goodmis.org>
To: 高翔 <gaoxiang17@xiaomi.com>
Cc: "Xiang Gao" <gxxa03070307@gmail.com>,
"Masami Hiramatsu" <mhiramat@kernel.org>,
"Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>,
"Lorenzo Stoakes" <ljs@kernel.org>, "Gao Xu" <gaoxu2@honor.com>,
印闯 <yinchuang1@xiaomi.com>,
"linux-trace-kernel@vger.kernel.org"
<linux-trace-kernel@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [External Mail]Re: [RFC] tracing: aggregate ring-buffer memory statistics
Date: Wed, 2 Sep 2026 09:15:55 -0400 [thread overview]
Message-ID: <20260902091555.450b521c@gandalf.local.home> (raw)
In-Reply-To: <88d476d443e74672957a5e0d1f8bf9ba@xiaomi.com>
On Wed, 2 Sep 2026 02:24:23 +0000
高翔 <gaoxiang17@xiaomi.com> wrote:
> Hi Steve,
>
>
> Just checking if the metadata split I proposed last time looks
> reasonable, so I know whether to proceed with the implementation:
>
>
> total:
> buffers_mem:
> snapshot_buffers_mem:
> metadata_mem:
>
>
> where buffers_mem and snapshot_buffers_mem report all page memory, and
> metadata_mem reports the slab-allocated ring-buffer metadata.
>
>
> Would you like me to proceed with this split?
>
Let's start with just the buffers for now. Thinking about this more, the
file can be called "memory_usage" and we can drop the "_mem" part of the
items.
# cat memory_usage_kb
buffers: XXX
snapshot buffers: XXX
We can then add more information later.
-- Steve
next prev parent reply other threads:[~2026-09-02 13:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 14:10 Xiang Gao
[not found] ` <93406afe7c684d649f11b05d7b6b7b7b@xiaomi.com>
2026-08-27 15:35 ` [External Mail][RFC] " Steven Rostedt
2026-08-27 15:38 ` [RFC] " Steven Rostedt
[not found] ` <15c244f5bc8f4858b8ffa2974a46d009@xiaomi.com>
[not found] ` <88d476d443e74672957a5e0d1f8bf9ba@xiaomi.com>
2026-09-02 13:15 ` Steven Rostedt [this message]
[not found] ` <ca552a4c093b4498b2e308d266d5ab6f@xiaomi.com>
2026-09-02 14:39 ` [External Mail]Re: " Steven Rostedt
[not found] ` <e4c4d3f20b1445869ba329e561f6d042@xiaomi.com>
2026-09-02 14:48 ` Steven Rostedt
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=20260902091555.450b521c@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=gaoxiang17@xiaomi.com \
--cc=gaoxu2@honor.com \
--cc=gxxa03070307@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=ljs@kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=yinchuang1@xiaomi.com \
/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
all inboxes | Powered by JetHome®