aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp_sample.bpf.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-08-21 05:49:57 +0530
committerAlexei Starovoitov <ast@kernel.org>2021-08-24 14:48:41 -0700
commitd771e217506adcfbfb08c693fb9332ee4859d61d (patch)
tree5b3053b3f52d3719c98b319a34416ca1ac9dabc6 /samples/bpf/xdp_sample.bpf.c
parentsamples: bpf: Add BPF support for cpumap tracepoints (diff)
downloadlinux-dev-d771e217506adcfbfb08c693fb9332ee4859d61d.tar.xz
linux-dev-d771e217506adcfbfb08c693fb9332ee4859d61d.zip
samples: bpf: Add cpumap tracepoint statistics support
This consolidates retrieval and printing into the XDP sample helper. For the kthread stats, it expands xdp_stats separately with its own per-CPU stats. For cpumap enqueue, we display FROM->TO stats also with its per-CPU stats. The help out explains in detail the various aspects of the output. 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-10-memxor@gmail.com
Diffstat (limited to 'samples/bpf/xdp_sample.bpf.c')
0 files changed, 0 insertions, 0 deletions