Skip to content

Commit f18c058

Browse files
aspskKernel Patches Daemon
authored andcommitted
bpftool: Recognize insn_array map type
Teach bpftool to recognize instruction array map type. Signed-off-by: Anton Protopopov <[email protected]> Acked-by: Quentin Monnet <[email protected]>
1 parent 7db773a commit f18c058

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ 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** | **arena** }
58+
| | **task_storage** | **bloom_filter** | **user_ringbuf** | **cgrp_storage** | **arena**
59+
| | **insn_array** }
5960
6061
DESCRIPTION
6162
===========

tools/bpf/bpftool/map.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,8 @@ static int do_help(int argc, char **argv)
14771477
" devmap | devmap_hash | sockmap | cpumap | xskmap | sockhash |\n"
14781478
" cgroup_storage | reuseport_sockarray | percpu_cgroup_storage |\n"
14791479
" queue | stack | sk_storage | struct_ops | ringbuf | inode_storage |\n"
1480-
" task_storage | bloom_filter | user_ringbuf | cgrp_storage | arena }\n"
1480+
" task_storage | bloom_filter | user_ringbuf | cgrp_storage | arena |\n"
1481+
" insn_array }\n"
14811482
" " HELP_SPEC_OPTIONS " |\n"
14821483
" {-f|--bpffs} | {-n|--nomount} }\n"
14831484
"",

0 commit comments

Comments
 (0)