perf sched: Sync state char array with the kernel
authorZe Gao <zegao2021@gmail.com>
Mon, 22 Jan 2024 07:08:56 +0000 (02:08 -0500)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 23 Jan 2024 07:01:58 +0000 (23:01 -0800)
commitccc606a7d3122200c102a250d2b73c394a7c3888
treebb917895ac3e1ec50614a693d33d3adb3bbcebf0
parent57c8f1073f14452223f3d1bd8bd2b690af93d745
perf sched: Sync state char array with the kernel

Update state char array to match the latest kernel definitions and
remove unused state mapping macros.

Note this is the preparing patch for get rid of the way to parse
process state from raw bitmask value. Instead we are going to
parse it from the recorded tracepoint print format, and this change
marks why we're doing it.

Signed-off-by: Ze Gao <zegao@tencent.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20240122070859.1394479-3-zegao@tencent.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-sched.c