Re: [PATCH] perf sched: sync task state macros with kernel

From: Peter Zijlstra
Date: Wed Mar 29 2023 - 03:12:05 EST


On Wed, Mar 29, 2023 at 11:52:02AM +0800, Ze Gao wrote:
> commit 8ef9925b02c2 ("sched/debug: Add explicit TASK_PARKED printing")
> changes some task state macros, this patch makes perf-sched in sync
>

Why does perf care? Where do we export raw state values?

That is, I really don't like this being ABI...