Re: [PATCH bpf-next 1/2] tools: bpftool: dump outer maps content

2020-09-07 Thread Quentin Monnet
On 04/09/2020 23:03, Andrii Nakryiko wrote: > On Fri, Sep 4, 2020 at 9:14 AM Quentin Monnet wrote: >> >> Although user space can lookup and dump the content of an outer map >> (hash-of-maps or array-of-maps), bpftool does not allow to do so. >> >> It seems that the only reason for that is historic

Re: [PATCH bpf-next 1/2] tools: bpftool: dump outer maps content

2020-09-04 Thread Andrii Nakryiko
On Fri, Sep 4, 2020 at 9:14 AM Quentin Monnet wrote: > > Although user space can lookup and dump the content of an outer map > (hash-of-maps or array-of-maps), bpftool does not allow to do so. > > It seems that the only reason for that is historical. Lookups for outer > maps was added in commit 14

[PATCH bpf-next 1/2] tools: bpftool: dump outer maps content

2020-09-04 Thread Quentin Monnet
Although user space can lookup and dump the content of an outer map (hash-of-maps or array-of-maps), bpftool does not allow to do so. It seems that the only reason for that is historical. Lookups for outer maps was added in commit 14dc6f04f49d ("bpf: Add syscall lookup support for fd array and hta