aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-08-21 05:49:56 +0530
committerAlexei Starovoitov <[email protected]>2021-08-24 14:48:41 -0700
commit0cf3c2fc4b1afbd8d9c376754af34c1d2bd56de7 (patch)
treed67677135ba59e0b9cf4614f11704f075d52e815 /tools/perf/scripts/python/stackcollapse.py
parent82c450803a917da6edb34a0a769d0b5a0b10990c (diff)
samples: bpf: Add BPF support for cpumap tracepoints
These are invoked in two places, when the XDP frame or SKB (for generic XDP) enqueued to the ptr_ring (cpumap_enqueue) and when kthread processes the frame after invoking the CPUMAP program for it (returning stats for the batch). We use cpumap_map_id to filter on the map_id as a way to avoid printing incorrect stats for parallel sessions of xdp_redirect_cpu. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions