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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux