Re: [PATCH] tracing: report buffer memory in /proc/meminfo

From: David Hildenbrand (Arm)

Date: Mon Aug 10 2026 - 06:57:10 EST


On 8/10/26 11:40, Xiang Gao wrote:
> Report the data capacity of all ftrace ring buffers through a new Ftrace
> field in /proc/meminfo. Include the main and snapshot buffers of the
> global trace array and all tracing instances, while leaving ring-buffer
> metadata accounted for by Slab.

why? :)

To report a handful of KiB as in your example below? Doesn't sound super helpful
TBH.

--
Cheers,

David