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

From: Peter Zijlstra
Date: Thu Aug 03 2023 - 04:54:20 EST


On Thu, Aug 03, 2023 at 04:33:50AM -0400, Ze Gao wrote:
> Report prioritiy and prev_state in 'short' to save some buffer
> space. And also reorder the fields so that we take struct
> alignment into consideration to make the record compact.
>
> Suggested-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
> Signed-off-by: Ze Gao <zegao@xxxxxxxxxxx>

I am really getting fed up with this. This again doesn't list any
reasons on why this is a sane thing to do.

Please review past discussions and collate the various things mentioned
into this Changelog.