Re: [PATCH bpf v3] tools/bpftool: fix a percpu_array map dump problem

2018-07-30 Thread Daniel Borkmann
On 07/30/2018 05:49 PM, Yonghong Song wrote: > I hit the following problem when I tried to use bpftool > to dump a percpu array. > > $ sudo ./bpftool map show > 61: percpu_array name stub flags 0x0 > key 4B value 4B max_entries 1 memlock 4096B > ... > $ sudo ./bpftool map du

[PATCH bpf v3] tools/bpftool: fix a percpu_array map dump problem

2018-07-30 Thread Yonghong Song
I hit the following problem when I tried to use bpftool to dump a percpu array. $ sudo ./bpftool map show 61: percpu_array name stub flags 0x0 key 4B value 4B max_entries 1 memlock 4096B ... $ sudo ./bpftool map dump id 61 bpftool: malloc.c:2406: sysmalloc: Assertion `(o