Decode ebpf errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When ebpf program fails it dumps log as eBPF instruction.

e.g.
[samples/bpf]# ./xyz
0: (bf) r6 = r1
1: (b7) r1 = 171602533
2: (63) *(u32 *)(r10 -40) = r1
3: (18) r1 = 0x6461654820534452
5: (7b) *(u64 *)(r10 -48) = r1
6: (b7) r7 = 0
7: (73) *(u8 *)(r10 -36) = r7
8: (bf) r1 = r10
9: (07) r1 += -48
10: (b7) r2 = 13
11: (85) call bpf_trace_printk#6
...
.


Is there a way I can dump jited instruction (e.g. x86 assembly) instead
for ease of understanding?

Thanks.

-Tushar




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux