Re: [RFC PATCH 1/3] sched, tracing: report task state in symbolic chars instead

From: Steven Rostedt
Date: Tue Jul 25 2023 - 16:13:39 EST


On Tue, 25 Jul 2023 15:31:00 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > > This is a format change and will likely break a ton of programs :/
> >
>
> > BTW, could you help to point to any possible tools/programs that would
> > break other than perf/libtraceevent, because these two are the only
> > users I run into so far.
>
> Latencytop was the one breaking a few years ago, but there's a metric
> ton of sched_switch users out there, this is bound to generate pain.
>
> Steve, you remember what the status of all this was? at the time
> breaking this was considered on par with ABI breakage and we reverted or
> something. Is this still so?

I did reply to the patch (before I switched to thread mode, and notice
that there were already replies ;-)

Pretty much all the tools have been switched over to libtraceevent, but
some just copied the code internally. Although, newer code (like
rasdaemon) are moving over to the newer shared library. Anyway, I did
post a possibly solution in my other email.

-- Steve