summaryrefslogtreecommitdiff
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-08-21 03:19:59 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-08-25 00:48:41 +0300
commitaf93d58c27b6ac4154f1651f47be2a159f8ce30f (patch)
tree7cad9d1507b0b8c03cbd7653357f56be916ec469 /samples/bpf/Makefile
parent5f116212f4018fc9aa7a2a828b27aab540b8e5fa (diff)
downloadlinux-af93d58c27b6ac4154f1651f47be2a159f8ce30f.tar.xz
samples: bpf: Add devmap_xmit tracepoint statistics support
This adds support for retrieval and printing for devmap_xmit total and mutli mode tracepoint. For multi mode, we keep a hash map entry for each redirection stream, such that we can dynamically add and remove entries on output. The from_match and to_match will be set by individual samples when setting up the XDP program on these devices. The multi mode tracepoint is also handy for xdp_redirect_map_multi, where up to 32 devices can be specified. Also add samples_init_pre_load macro to finally set up the resized maps and mmap them in place for low overhead stats retrieval. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210821002010.845777-12-memxor@gmail.com
Diffstat (limited to 'samples/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions