diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-07 16:45:17 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-07 22:45:12 -1000 |
| commit | c9c8546cdee64d3f1a54fe09cc2b8c1a8ea80c6d (patch) | |
| tree | 08164a7222f8a715549860910051a84ae87df2d6 /tools/perf/scripts/python | |
| parent | 3691d380d5ca8c847c716327aad73a07307ec9c4 (diff) | |
tools/sched_ext/include: Add __COMPAT_HAS_scx_bpf_select_cpu_and macro
scx_bpf_select_cpu_and() is now an inline wrapper so
bpf_ksym_exists(scx_bpf_select_cpu_and) no longer works. Add
__COMPAT_HAS_scx_bpf_select_cpu_and macro that checks for either the
struct args type (new) or the compat ksym (old) to test availability.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
