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

From: Ze Gao
Date: Thu Aug 03 2023 - 07:08:56 EST

On Thu, Aug 3, 2023 at 4:54 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> 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.

Lesson learned from Steven's reply, Will reorganize the changelog.

Thanks for pointing this out.