Re: [PATCH v5 00/10] perf sched: Introduce stats tool
From: Arnaldo Carvalho de Melo
Date: Wed Jan 21 2026 - 15:22:43 EST
On Wed, Jan 21, 2026 at 08:51:55PM +0100, Peter Zijlstra wrote:
> On Wed, Jan 21, 2026 at 09:12:20AM -0800, Ian Rogers wrote:
>
> > I'm still wondering if we can make some of the /proc/schedstat data
> > appear as tool events similar to proposals for networking and memory
> > tool events in:
> > https://lore.kernel.org/lkml/20260104011738.475680-1-irogers@xxxxxxxxxx/
>
> Yeah, someone with a bit of spare time could make it happen:
>
> https://lkml.kernel.org/r/20250703141800.GX1613200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> It would be:
>
> - convert all the accounting sites to tracepoints
> - write modules that connect to relevant tracepoints to provide the
> 'legacy' interface
> - convince world+dog to not auto-load above modules
> - have beer and wait for people to complain about something :-)
>
> I'm sure there's 'interesting' details glossed over, but I *think* it
> should be doable.
Until then, since you and Ian acked this one, I'm going over it and
tentatively merging it,
Thanks,
- Arnaldo