Re: [linux-next-20250324]/tool/bpf/bpftool fails to complie on linux-next-20250324

2025-03-25 Thread Quentin Monnet
> My commits sets BPFTOOL to bpftool since otherwise, the feature check > would fail, as BPFTOOL wouldn't be defined, since it is not passed to > the feature detection make call. Sorry I don't understand the issue, why not simply rename the variable that you introduced in tools/build/feature/Make

Re: [linux-next-20250324]/tool/bpf/bpftool fails to complie on linux-next-20250324

2025-03-25 Thread Quentin Monnet
2025-03-25 17:14 UTC+0530 ~ Saket Kumar Bhaskar > On Tue, Mar 25, 2025 at 11:09:24AM +0000, Quentin Monnet wrote: >> 2025-03-25 16:02 UTC+0530 ~ Venkat Rao Bagalkote >>> Greetings!!! >>> >>> >>> bpftool fails to complie on linux-next-20250324 repo. &g

Re: [linux-next-20250324]/tool/bpf/bpftool fails to complie on linux-next-20250324

2025-03-25 Thread Quentin Monnet
2025-03-25 16:02 UTC+0530 ~ Venkat Rao Bagalkote > Greetings!!! > > > bpftool fails to complie on linux-next-20250324 repo. > > > Error: > > make: *** No rule to make target 'bpftool', needed by '/home/linux/ > tools/testing/selftests/bpf/tools/include/vmlinux.h'. Stop. > make: *** Waiting fo

Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode

2021-04-23 Thread Quentin Monnet
2021-04-23 12:46 UTC+0200 ~ Christophe Leroy > > > Le 23/04/2021 à 12:26, Quentin Monnet a écrit : >> 2021-04-23 09:19 UTC+0200 ~ Christophe Leroy >> >> >> [...] >> >>> I finally managed to cross compile bpftool with libbpf, libopcodes, >>

Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode

2021-04-23 Thread Quentin Monnet
2021-04-23 09:19 UTC+0200 ~ Christophe Leroy [...] > I finally managed to cross compile bpftool with libbpf, libopcodes, > readline, ncurses, libcap, libz and all needed stuff. Was not easy but I > made it. Libcap is optional and bpftool does not use readline or ncurses. May I ask how you tried

Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode

2021-04-21 Thread Quentin Monnet
2021-04-21 15:10 UTC+0200 ~ Christophe Leroy > > > Le 20/04/2021 à 05:28, Alexei Starovoitov a écrit : >> On Sat, Apr 17, 2021 at 1:16 AM Christophe Leroy >> wrote: >>> >>> >>> >>> Le 16/04/2021 à 01:49, Alexei Starovoitov a éc

Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode

2021-04-15 Thread Quentin Monnet
2021-04-15 16:37 UTC+0200 ~ Daniel Borkmann > On 4/15/21 11:32 AM, Jianlin Lv wrote: >> For debugging JITs, dumping the JITed image to kernel log is discouraged, >> "bpftool prog dump jited" is much better way to examine JITed dumps. >> This patch get rid of the code related to bpf_jit_enable=2 mo