Commit 68f87f24 authored by Ze Gao's avatar Ze Gao Committed by Namhyung Kim
Browse files

perf sched: Commit to evsel__taskstate() to parse task state info



Now that we have evsel__taskstate() which no longer relies on the
hardcoded task state string and has good backward compatibility,
we have a good reason to use it.

Note TASK_STATE_TO_CHAR_STR and task bitmasks are useless now so
we remove them for good. And now we pass the state info back and
forth in a symbolic char which explains itself well instead.

Signed-off-by: default avatarZe Gao <zegao@tencent.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20240123022425.1611483-1-zegao@tencent.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent df8bc77e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment