diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-24 09:09:28 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-24 12:10:21 -1000 |
| commit | 49d6247d64aec7ba1590223d277c47ae09037d4d (patch) | |
| tree | feb5a796b4543ab2c23bed622af70ed02ea0a7e3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7c80408fa9433778d3b506cee4ec50d52639f5cd (diff) | |
sched_ext: Factor out scx_cpuperf_set()
Factor the cpuperf target write out of scx_bpf_cpuperf_set() into
scx_cpuperf_set() which takes the acting sched and returns 0 or -errno, and
flatten the nested validation into early returns. No functional change.
Prep for gating the write behind a cap and reporting the outcome from the
cid-form kfunc.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
