mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 19:50:24 +02:00
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> |
||
|---|---|---|
| .. | ||
| bash-completion | ||
| Documentation | ||
| cfg.c | ||
| cfg.h | ||
| cgroup.c | ||
| common.c | ||
| jit_disasm.c | ||
| json_writer.c | ||
| json_writer.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| map.c | ||
| map_perf_ring.c | ||
| prog.c | ||
| xlated_dumper.c | ||
| xlated_dumper.h | ||