Re: [RFC PATCH v6 3/5] sched, tracing: reorganize fields of switch event struct

From: Steven Rostedt
Date: Thu Aug 03 2023 - 10:45:48 EST


On Thu, 3 Aug 2023 11:51:32 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> >
> > See the difference?
>
> This also doesn't mention you broke the data format for all trace events
> a while back to ensure people are using libtracefs and are thus
> confident this won't break things.


It was the meta data that happened a while ago. As other events change all
the time with this restriction (keeping field names around), I didn't
realize that it was required for this change log. Doesn't hurt adding it.

More details on that:

commit b000c8065 ("tracing: Remove the extra 4 bytes of padding in events")

This was to get rid of the padding that powertop relied on.

Nit, it's libtraceevent not libtracefs, as libtracefs gets you to the
format files, but it's libtraceveent that parses them.


-- Steve