bpftools/linux-observability-with-bpf

bpf_load.h doesn't existing in Linux above 5.11?

ThomsonTan opened this issue · 1 comments

Is there any alternative of this? Or is it recommended to copy the old one back?

Hey Tom, thanks for asking here.

I'm thinking how to approach this problem since many things changed in newer kernels.

In the meanwhile you can either copy an old one (it should just work) or alternatively use the following two functions from libbpf