[PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode
Quentin Monnet
quentin at isovalent.com
Fri Apr 23 11:59:44 BST 2021
2021-04-23 12:46 UTC+0200 ~ Christophe Leroy <christophe.leroy at csgroup.eu>
>
>
> Le 23/04/2021 à 12:26, Quentin Monnet a écrit :
>> 2021-04-23 09:19 UTC+0200 ~ Christophe Leroy
>> <christophe.leroy at csgroup.eu>
>>
>> [...]
>>
>>> 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 to build it?
>
> cd tools/bpf/
>
> make ARCH=powerpc CROSS_COMPILE=ppc-linux-
Ok, you could try running directly from tools/bpf/bpftool/ next time
instead.
Readline at least is for a different tool under tools/bpf/, bpf_dbg (But
I'm still not sure where that ncurses requirement was pulled from). The
requirements for specific kernel options probably came from yet another
tool (runqslower, I think).
Quentin
More information about the linux-riscv
mailing list