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

2018-07-30 Thread Daniel Borkmann
Hi Yonghong, On 07/29/2018 07:20 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 ./bp

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

2018-07-29 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