[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <26e09ae3-dc7a-858d-c15c-7c2ff080d36d@csgroup.eu>
Date: Mon, 23 Jan 2023 07:57:46 +0000
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Quentin Monnet <quentin@...valent.com>,
Tonghao Zhang <tong@...ragraf.org>,
Andrii Nakryiko <andrii@...nel.org>
CC: Daniel Borkmann <daniel@...earbox.net>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"loongarch@...ts.linux.dev" <loongarch@...ts.linux.dev>,
"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>,
"sparclinux@...r.kernel.org" <sparclinux@...r.kernel.org>,
Hao Luo <haoluo@...gle.com>,
John Fastabend <john.fastabend@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
Song Liu <song@...nel.org>,
Stanislav Fomichev <sdf@...gle.com>,
Jiri Olsa <jolsa@...nel.org>, Hou Tao <houtao1@...wei.com>,
KP Singh <kpsingh@...nel.org>, Yonghong Song <yhs@...com>,
Martin KaFai Lau <martin.lau@...ux.dev>,
"naveen.n.rao@...ux.ibm.com" <naveen.n.rao@...ux.ibm.com>,
"mpe@...erman.id.au" <mpe@...erman.id.au>
Subject: Re: [bpf-next v2] bpf: drop deprecated bpf_jit_enable == 2
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
Powered by blists - more mailing lists