[dpdk-dev] [PATCH v15 05/12] bpf: add function to dump eBPF instructions

Kinsella, Ray mdr at ashroe.eu
Thu Oct 21 16:15:58 CEST 2021



On 20/10/2021 22:42, Stephen Hemminger wrote:
> When debugging converted (and other) programs it is useful
> to see disassembled eBPF output.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
>   lib/bpf/bpf_dump.c  | 139 ++++++++++++++++++++++++++++++++++++++++++++
>   lib/bpf/meson.build |   1 +
>   lib/bpf/rte_bpf.h   |  14 +++++
>   lib/bpf/version.map |   1 +
>   4 files changed, 155 insertions(+)
>   create mode 100644 lib/bpf/bpf_dump.c
> 
Acked-by: Ray Kinsella <mdr at ashroe.eu>


More information about the dev mailing list