Alan Maguire
Alan Maguire
I've spent a fair bit of time getting bpftune to run without BTF, and I'm still hitting some walls. Even if we could get this to work, the key problem...
see https://github.com/oracle/bpftune/issues/23 this seems to be a false positive; it originates in the generated "BPF skeleton" header file
I added a "no BTF" mode of operation to bpftune; it's merged into main now so could you pull, rebuild and see if it works for you? thanks!
the problem is we calloc() the skeleton progs but then later call bpf_object__destroy_skeleton() to clean up. clang analysis does not have a way to know that bpf_object__destroy_skeleton() will free the...
we can't fix this locally in bpftune as it's autogenerated bpf skeleton code..
we ran into multiple ID issues with pahole v1.24, but these should mostly have been resolved with pahole v1.25. Can you do a few things if you get a chance...
one thing I've been thinking about is doing some dynamic receive packet steering etc on the networking side when users pin tasks. I'll take a look at the above.
thanks for the update! I wasn't able to reproduce the issue with multiple ids using your config, but the cause of that in the past has been issues with the...
we also build bpftune for aarch64, so maybe this will help cross-compile to x86_64 on other architectures, but it breaks existing native builds on aarch64 so is a step backwards....
Thanks for the report! I'll dig into this more in a few days