How about adding a name for bpftool self created maps?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Quentin,

When I using `bpftool map list` to show what maps user using. bpftool will
show maps including self created maps. Apart from the "pid_iter.rodata",
there are also array maps without name, which makes it hard to filter out
what maps user using. e.g.

# bpftool map list
63: array  flags 0x0
         key 4B  value 32B  max_entries 1  memlock 4096B
65: array  name pid_iter.rodata  flags 0x480
         key 4B  value 4B  max_entries 1  memlock 4096B
         btf_id 98  frozen
         pids bpftool(10572)
66: array  flags 0x0
         key 4B  value 32B  max_entries 1  memlock 4096B

So do you have plan to add a special name for the bpftool self created maps?
Or do you know if there is a way to filter out these maps?

Thanks
Hangbin



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux