summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorfangqiurong <fangqiurong@kylinos.cn>2026-08-12 14:11:16 +0800
committerTejun Heo <tj@kernel.org>2026-08-12 08:29:15 -1000
commit0c09d1ad81ed55b02f64f4dd2e2e7c83161e5740 (patch)
tree97e66f3241951711882ddafbfd3882d13d543fd5 /tools/perf/scripts/python/flamegraph.py
parent1be10bb07085bf04e3579d2c3471d0b7a3f84ba4 (diff)
sched_ext: Gate cid kfuncs behind the SCX struct_ops check
scx_bpf_cid_to_cpu(), scx_bpf_cpu_to_cid() and scx_bpf_cid_topo() live in the scx_kfunc_ids_cid set, but scx_kfunc_context_filter() doesn't check that set. The filter's first test treats any kfunc outside its known sets as non-SCX and allows it, so these three kfuncs can be called from any struct_ops program - e.g. a TCP congestion control program. Add scx_kfunc_ids_cid to the filter's known sets, matching how in_any and in_idle are handled. Fixes: e9b55af47edf ("sched_ext: Add topological CPU IDs (cids)") Assisted-by: Z.ai:glm-5.2 Signed-off-by: fangqiurong <fangqiurong@kylinos.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions