Hi Jiri, On Wed, Jun 11, 2025 at 3:34 AM Jiri Olsa <olsaj...@gmail.com> wrote: > could this be used in bpftool map dump? ;-) I checked, but it looks like > bpftool map dump is using something else to dump data.. I admit I haven't > spent much on time that
I actually started this work by looking at bpftool's dumper, and only after a bit of time did I realize that there was a more general dumper in libbpf. I suspect that part of why no one has updated bpftool to use libbpf for this is that bpftool's dumper also has a "display in JSON" mode which libbpf doesn't support. So yes, it could be done, but it would take some work. Blake