Thread (25 messages) 25 messages, 6 authors, 2023-01-23

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

From: Christophe Leroy <hidden>
Date: 2023-01-23 07:57:52
Also in: bpf, linux-mips, linux-riscv, linux-s390, loongarch, netdev, sparclinux


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help