diff options
| author | Zqiang <qiang.zhang@linux.dev> | 2026-03-25 11:11:00 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-24 18:21:15 -1000 |
| commit | 60d4b17e886a90e707eaa06f8b07539f603cec5b (patch) | |
| tree | 44798237a7ddd68d89b3cf7f0a40f506ade2fea4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7ef26d62f3fd841fd18ab6fa93a6bc2de9d17dff (diff) | |
sched_ext: Choose the right sch->ops.name to output in the print_scx_info()
The print_scx_info() always output scx_root structure's->ops.name,
but for built with CONFIG_EXT_SUB_SCHED=y kernels, the tasks may be
attach an sub scx_sched structure. this commit therefore use the
scx_task_sched_rcu() to correctly get scx_sched structure to output
ops.name, and drop state check.
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
