diff options
| author | Ze Gao <[email protected]> | 2024-01-22 21:24:25 -0500 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-01-22 23:02:46 -0800 |
| commit | 68f87f24f953cf3147afa01ef123d8fd3c1162b6 (patch) | |
| tree | 3c2cc479c44229990c3731214a764c1491bcbf82 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | df8bc77e4a6b2d29bab0a092e1ed30fcabdea35e (diff) | |
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 <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions