Hello John. The "minimal" program in question is the one from: https://github.com/libbpf/libbpf-bootstrap/blob/bc186797086bee39769e3f24bcccf292a94cdcb7/examples/c/minimal.c On Fri, Sep 30, 2022 at 4:11 AM John Fastabend <john.fastabend@xxxxxxxxx> wrote: > > Owayss Kabtoul wrote: > > Hello. > > > > I have built libbpf from source (a7c0f7e). When running any of the > > provided examples, the bpf syscall fails with "Invalid argument": > > > > ``` > > $ sudo strace ./minimal > > Could you post the minimal C code. Its likely easier to read than > trying to parse the strace output. Sure we could probably figure > it out from strace but lets go the easier route. > > Caveat I didn't bother to try and read the strace. > > Thanks, > John