diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-08-21 02:19:57 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-08-24 23:48:41 +0200 |
commit | d771e217506adcfbfb08c693fb9332ee4859d61d (patch) | |
tree | 5b3053b3f52d3719c98b319a34416ca1ac9dabc6 /samples/bpf/xdpsock_ctrl_proc.c | |
parent | samples: bpf: Add BPF support for cpumap tracepoints (diff) | |
download | linux-d771e217506adcfbfb08c693fb9332ee4859d61d.tar.xz linux-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/xdpsock_ctrl_proc.c')
0 files changed, 0 insertions, 0 deletions