bpf: add function to dump eBPF instructions
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 20 Oct 2021 21:42:29 +0000 (14:42 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:07:48 +0000 (22:07 +0200)
commit745b7587f9e52a4df2121d7214346853b4baf5ed
treee039656dd2a0b659983d7d186cd06b913959861c
parent2eccf6afbea99dcabb9843c48088097796be8a33
bpf: add function to dump eBPF instructions

When debugging converted (and other) programs it is useful
to see disassembled eBPF output.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
lib/bpf/bpf_dump.c [new file with mode: 0644]
lib/bpf/meson.build
lib/bpf/rte_bpf.h
lib/bpf/version.map