summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-mem.c
diff options
context:
space:
mode:
authorZe Gao <zegao2021@gmail.com>2024-01-23 05:24:25 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-01-23 10:02:46 +0300
commit68f87f24f953cf3147afa01ef123d8fd3c1162b6 (patch)
tree3c2cc479c44229990c3731214a764c1491bcbf82 /tools/perf/builtin-mem.c
parentdf8bc77e4a6b2d29bab0a092e1ed30fcabdea35e (diff)
downloadlinux-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/builtin-mem.c')
0 files changed, 0 insertions, 0 deletions