[bpf-next v2] bpf: drop deprecated bpf_jit_enable == 2

Christophe Leroy christophe.leroy at csgroup.eu
Sun Jan 22 23:57:46 PST 2023



Le 17/01/2023 à 16:42, Quentin Monnet a écrit :
> 
> In the meantime, you could disable the use of skeletons in bpftool, by
> removing "clang-bpf-co-re" from FEATURE_TESTS from the Makefile. You
> should get a functional binary, which would only miss a few features
> (namely, printing the pids of programs holding references to BPF
> programs, and the "bpftool prog profile" command).

Ok, with "clang-bpf-co-re" removed, bpftool doesn't complain.

However, does it work at all ?

I started a 'tcpdump', I confirmed with ' bpf_jit_enable == 2' that a 
BPF jitted program is created by tcpdump.

'bptool prog show' and 'bpftool prog list' returns no result.

Christophe


More information about the linux-riscv mailing list