Skip to content

Commit eed512e

Browse files
Alexei Starovoitovanakryiko
authored andcommitted
bpftool: Recognize arena map type
Teach bpftool to recognize arena map type. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 79ff13e commit eed512e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/bpf/bpftool/Documentation/bpftool-map.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ MAP COMMANDS
5555
| | **devmap** | **devmap_hash** | **sockmap** | **cpumap** | **xskmap** | **sockhash**
5656
| | **cgroup_storage** | **reuseport_sockarray** | **percpu_cgroup_storage**
5757
| | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
58-
| | **task_storage** | **bloom_filter** | **user_ringbuf** | **cgrp_storage** }
58+
| | **task_storage** | **bloom_filter** | **user_ringbuf** | **cgrp_storage** | **arena** }
5959
6060
DESCRIPTION
6161
===========

tools/bpf/bpftool/map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ static int do_help(int argc, char **argv)
14631463
" devmap | devmap_hash | sockmap | cpumap | xskmap | sockhash |\n"
14641464
" cgroup_storage | reuseport_sockarray | percpu_cgroup_storage |\n"
14651465
" queue | stack | sk_storage | struct_ops | ringbuf | inode_storage |\n"
1466-
" task_storage | bloom_filter | user_ringbuf | cgrp_storage }\n"
1466+
" task_storage | bloom_filter | user_ringbuf | cgrp_storage | arena }\n"
14671467
" " HELP_SPEC_OPTIONS " |\n"
14681468
" {-f|--bpffs} | {-n|--nomount} }\n"
14691469
"",

0 commit comments

Comments
 (0)