linux/tools/bpf/bpftool/Documentation
Jakub Kicinski f412eed9df tools: bpftool: add simple perf event output reader
Users of BPF sooner or later discover perf_event_output() helpers
and BPF_MAP_TYPE_PERF_EVENT_ARRAY.  Dumping this array type is
not possible, however, we can add simple reading of perf events.
Create a new event_pipe subcommand for maps, this sub command
will only work with BPF_MAP_TYPE_PERF_EVENT_ARRAY maps.

Parts of the code from samples/bpf/trace_output_user.c.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-05-04 23:41:04 +02:00
..
bpftool-cgroup.rst bpftool: Support new prog types and attach types 2018-04-18 14:39:24 +02:00
bpftool-map.rst tools: bpftool: add simple perf event output reader 2018-05-04 23:41:04 +02:00
bpftool-prog.rst tools, bpftool: Display license GPL compatible in prog show/list 2018-04-26 22:39:22 +02:00
bpftool.rst tools: bpftool: add simple perf event output reader 2018-05-04 23:41:04 +02:00
Makefile tools: bpftool: exit doc Makefile early if rst2man is not available 2018-02-08 11:59:50 +01:00