Hi Stephen,
The new Kernel expects the BPF maps in BTF format:
https://www.kernel.org/doc/html/v5.4/bpf/btf.html.
So, we need to compile with "-g" option as follows:
==
clang -O2 -target bpf -c tap_bpf_program.c -g -o tap_bpf_program.o
=
On Sat, 6 Jan 2024 10:23:57 +
Madhuker Mythri wrote:
> Hi Stephen,
>
> The new Kernel expects the BPF maps in BTF format:
> https://www.kernel.org/doc/html/v5.4/bpf/btf.html.
> So, we need to compile with "-g" option as follows:
> ==
> clang -O2 -target bpf -c ta
On Sat, 6 Jan 2024 10:23:57 +
Madhuker Mythri wrote:
> Hi Stephen,
>
> The new Kernel expects the BPF maps in BTF format:
> https://www.kernel.org/doc/html/v5.4/bpf/btf.html.
> So, we need to compile with "-g" option as follows:
> ==
> clang -O2 -target bpf -c ta
3 matches
Mail list logo