Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Fix up some selftests #173

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Fix up some selftests #173

merged 3 commits into from
Apr 4, 2024

Conversation

Byte-Lab
Copy link
Collaborator

@Byte-Lab Byte-Lab commented Apr 4, 2024

Now that libbpf can support loading a minimal scheduler, let's update that test. Also clean a few other things along the way.

Let's include some options necessary for BTF

Signed-off-by: David Vernet <[email protected]>
Now that libbpf has been fixed to accommodate a struct_ops map with no
struct_ops progs, let's update the minimal testcase to not have any
struct_ops progs.

Signed-off-by: David Vernet <[email protected]>
Instead of hard-coding the enum values, let's use libbpf to read them.
Also fix a bug in prog_run.

Signed-off-by: David Vernet <[email protected]>
@Byte-Lab Byte-Lab requested a review from htejun April 4, 2024 21:03
@htejun htejun merged commit e74f696 into sched_ext Apr 4, 2024
1 check passed
@htejun htejun deleted the selftests branch April 4, 2024 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants