diff options
author | Ze Gao <zegao2021@gmail.com> | 2024-01-23 05:24:25 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-01-23 10:02:46 +0300 |
commit | 68f87f24f953cf3147afa01ef123d8fd3c1162b6 (patch) | |
tree | 3c2cc479c44229990c3731214a764c1491bcbf82 /tools/perf/arch | |
parent | df8bc77e4a6b2d29bab0a092e1ed30fcabdea35e (diff) | |
download | linux-68f87f24f953cf3147afa01ef123d8fd3c1162b6.tar.xz |
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: Ze 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: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/arch')
0 files changed, 0 insertions, 0 deletions