> Am 06.11.2019 um 17:15 schrieb Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx>: > > On Wed, Nov 6, 2019 at 8:12 AM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote: >> >> Currently it's not possible to set bpf_jit_enable = 2 when >> CONFIG_BPF_JIT_ALWAYS_ON is set, which makes debugging certain problems >> harder. > > This is obsolete way of debugging. > Please use bpftool dump jited instead. Is there a way to integrate bpftool nicely with e.g. test_verifier? With bpf_jit_enable = 2, I can see JITed code for each test right away, without pausing it (via gdb or rebuilding with added sleep()) and running bpftool.