bpftool: Remove useless #include to <perf-sys.h> from map_perf_ring.c
authorQuentin Monnet <quentin@isovalent.com>
Wed, 20 Oct 2021 09:48:26 +0000 (10:48 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 20 Oct 2021 17:47:39 +0000 (10:47 -0700)
commitefc36d6c642a753c2880d97b8e8c3c7cfaf64ad1
treeba65f2711a54cbbf1a191f098dbcb04cfe500b5f
parentb8f49dce799f0c177ee6a56b3fd67e7fdc6e68c2
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 <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211020094826.16046-1-quentin@isovalent.com
tools/bpf/bpftool/Makefile
tools/bpf/bpftool/map_perf_ring.c