All of lore.kernel.org
 help / color / mirror / Atom feed
* Decode ebpf errors
@ 2018-04-18 23:09 Tushar Dave
  0 siblings, 0 replies; only message in thread
From: Tushar Dave @ 2018-04-18 23:09 UTC (permalink / raw)
  To: xdp-newbies

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-18 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 23:09 Decode ebpf errors Tushar Dave

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.