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

Commits on Apr 4, 2024

  1. scx: Add a few missing config options from selftests

    Let's include some options necessary for BTF
    
    Signed-off-by: David Vernet <[email protected]>
    Byte-Lab committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    0cd5c16 View commit details
    Browse the repository at this point in the history
  2. scx: Update minimal testcase to be completely minimal

    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]>
    Byte-Lab committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    e138c7c View commit details
    Browse the repository at this point in the history
  3. scx: Use __COMPAT_ENUM_OR_ZERO for reading exit values

    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 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    635e5f8 View commit details
    Browse the repository at this point in the history