aboutsummaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi2021-08-21 05:49:59 +0530
committerAlexei Starovoitov2021-08-24 14:48:41 -0700
commitaf93d58c27b6ac4154f1651f47be2a159f8ce30f (patch)
tree7cad9d1507b0b8c03cbd7653357f56be916ec469 /fs/io_uring.c
parent5f116212f4018fc9aa7a2a828b27aab540b8e5fa (diff)
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 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions