diff options
author | Yuan Can <yuancan@huawei.com> | 2022-09-28 12:04:40 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-10-01 00:09:05 +0300 |
commit | f95a479797dc2c65fdf2809a7c388e7a9e2bc853 (patch) | |
tree | 9f226e24b1c63834518d64645222548e9150b716 /tools/bpf/bpftool/map_perf_ring.c | |
parent | d863f42930db35e82f47e4b4c78531a2b8d396ae (diff) | |
download | linux-f95a479797dc2c65fdf2809a7c388e7a9e2bc853.tar.xz |
bpftool: Remove unused struct event_ring_info
After commit 9b190f185d2f ("tools/bpftool: switch map event_pipe to
libbpf's perf_buffer"), struct event_ring_info is not used any more and
can be removed as well.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220928090440.79637-3-yuancan@huawei.com
Diffstat (limited to 'tools/bpf/bpftool/map_perf_ring.c')
-rw-r--r-- | tools/bpf/bpftool/map_perf_ring.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/bpf/bpftool/map_perf_ring.c b/tools/bpf/bpftool/map_perf_ring.c index 6b0c410152de..1583281d1327 100644 --- a/tools/bpf/bpftool/map_perf_ring.c +++ b/tools/bpf/bpftool/map_perf_ring.c @@ -29,13 +29,6 @@ static volatile bool stop; -struct event_ring_info { - int fd; - int key; - unsigned int cpu; - void *mem; -}; - struct perf_event_sample { struct perf_event_header header; __u64 time; |