diff options
| author | Quentin Monnet <[email protected]> | 2021-10-20 09:48:26 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-10-20 17:47:39 +0000 |
| commit | efc36d6c642a753c2880d97b8e8c3c7cfaf64ad1 (patch) | |
| tree | ba65f2711a54cbbf1a191f098dbcb04cfe500b5f /tools/bpf/bpftool/map_perf_ring.c | |
| parent | selftests/bpf: Remove duplicated include in cgroup_helpers (diff) | |
| download | kernel-efc36d6c642a753c2880d97b8e8c3c7cfaf64ad1.tar.gz kernel-efc36d6c642a753c2880d97b8e8c3c7cfaf64ad1.zip | |
bpftool: Remove useless #include to <perf-sys.h> from map_perf_ring.c
The header is no longer needed since the event_pipe implementation
was updated to rely on libbpf's perf_buffer. This makes bpftool free of
dependencies to perf files, and we can update the Makefile accordingly.
Fixes: 9b190f185d2f ("tools/bpftool: switch map event_pipe to libbpf's perf_buffer")
Signed-off-by: Quentin Monnet <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/map_perf_ring.c')
| -rw-r--r-- | tools/bpf/bpftool/map_perf_ring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/map_perf_ring.c b/tools/bpf/bpftool/map_perf_ring.c index 825f29f93a57..b98ea702d284 100644 --- a/tools/bpf/bpftool/map_perf_ring.c +++ b/tools/bpf/bpftool/map_perf_ring.c @@ -22,7 +22,6 @@ #include <sys/syscall.h> #include <bpf/bpf.h> -#include <perf-sys.h> #include "main.h" |
