[PATCHSET sched_ext/for-7.1] tools/sched_ext/include: Sync include files with scx repo

From: Tejun Heo

Date: Sat Mar 07 2026 - 21:45:27 EST


Hello,

Sync tools/sched_ext/include/ with the scx repo. This brings in helpers,
compat wrappers, and generated files that have accumulated in the scx repo
since the last sync.

Based on sched_ext/for-7.1 (28c4ef2b2e57).

0001 tools/sched_ext/include: Remove dead sdt_task_defs.h guard from common.h
0002 tools/sched_ext/include: Sync bpf_arena_common.bpf.h with scx repo
0003 tools/sched_ext/include: Add missing helpers to common.bpf.h
0004 tools/sched_ext/include: Add __COMPAT_HAS_scx_bpf_select_cpu_and macro
0005 tools/sched_ext/include: Add libbpf version guard for assoc_struct_ops
0006 tools/sched_ext/include: Regenerate enum_defs.autogen.h

Git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git scx-include-sync

tools/sched_ext/include/scx/bpf_arena_common.bpf.h | 8 +-
tools/sched_ext/include/scx/common.bpf.h | 277 +++++++++++++++++++++
tools/sched_ext/include/scx/common.h | 4 -
tools/sched_ext/include/scx/compat.bpf.h | 8 +
tools/sched_ext/include/scx/compat.h | 35 ++-
tools/sched_ext/include/scx/enum_defs.autogen.h | 49 +++-
6 files changed, 357 insertions(+), 24 deletions(-)

--
tejun