Re: [RFC PATCH 1/3] sched, tracing: report task state in symbolic chars instead
From: Ze Gao <hidden>
Date: 2023-07-26 02:48:38
Also in:
linux-perf-users, lkml
From: Ze Gao <hidden>
Date: 2023-07-26 02:48:38
Also in:
linux-perf-users, lkml
I'd like to try this one, and request for another RFC. Regards, Ze On Wed, Jul 26, 2023 at 5:55 AM Steven Rostedt [off-list ref] wrote:
On Tue, 25 Jul 2023 22:16:03 +0200 Peter Zijlstra [off-list ref] wrote:quoted
quoted
Now, because the old tools still do the parsing of this format, we can add a new field called prev_state_char that will give you this. Now to save space, we should change prev_state to int (can't make it short as there's that test for "+" which does sometimes happen). I believe we can make prev_prio and next prio into shorts (and possibly chars!).Or just leave the thing alone?Sure, but I would like to change the fields to smaller ones just so that the event wastes less space on the buffer. -- Steve