On Fri, May 2, 2025 at 11:20 AM Lorenz Bauer <[email protected]> wrote: > > User space needs access to kernel BTF for many modern features of BPF. > Right now each process needs to read the BTF blob either in pieces or > as a whole. Allow mmaping the sysfs file so that processes can directly > access the memory allocated for it in the kernel.
I just realised that there is also code which exposes module BTF via sysfs, which my code currently doesn't handle. I'll send a v3.

