Re: [PATCH v2] selftests: sched_ext: Add sched_ext as proper selftest target

From: Mark Brown
Date: Mon Oct 07 2024 - 16:13:40 EST


On Mon, Oct 07, 2024 at 06:00:57PM +0200, Björn Töpel wrote:

> The sched_ext BPF programs relies on a vmlinux.h, which is generated
> using bpftool and the vmlinux with BTF information. Have you built a
> kernel with BTF support?

OK, so having beaten the kernel config into shape and using GCC rather
than clang for my build I did get this to build fine. I think the main
gotchas are the issues with the arm64 defconfig not supporting BTF and
the fact that the Makefile silently picked up the host kernel.

Attachment: signature.asc
Description: PGP signature