Re: [RFC PATCH v3 3/6] sched, tracing: add to report task state in symbolic chars
From: Peter Zijlstra
Date: Tue Aug 01 2023 - 07:46:19 EST
On Tue, Aug 01, 2023 at 05:01:21PM +0800, Ze Gao wrote:
> @@ -233,6 +255,7 @@ TRACE_EVENT(sched_switch,
> __field( pid_t, prev_pid )
> __field( int, prev_prio )
> __field( long, prev_state )
> + __field( char, prev_state_char )
> __array( char, next_comm, TASK_COMM_LEN )
> __field( pid_t, next_pid )
> __field( int, next_prio )
And this again will wreck everybody that consumes the raw tracepoint
without looking at tracefs.