lkml.org 
[lkml]   [2021]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode
    From
    Date
    2021-04-23 12:46 UTC+0200 ~ Christophe Leroy <christophe.leroy@csgroup.eu>
    >
    >
    > Le 23/04/2021 à 12:26, Quentin Monnet a écrit :
    >> 2021-04-23 09:19 UTC+0200 ~ Christophe Leroy
    >> <christophe.leroy@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

    \
     
     \ /
      Last update: 2021-04-23 13:01    [W:3.131 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site