Re: [External Mail]Re: [RFC] tracing: aggregate ring-buffer memory statistics
From: Steven Rostedt
Date: Wed Sep 02 2026 - 09:20:58 EST
On Wed, 2 Sep 2026 02:24:23 +0000
高翔 <gaoxiang17@xxxxxxxxxx> 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