aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2019-10-15 20:25:05 -0700
committerDaniel Borkmann <[email protected]>2019-10-17 16:44:36 +0200
commit580d656d80cfe616432fddd1ec35297a1454e05a (patch)
tree7b4106d91e7dcc48dbd1bc70b47ef67ff6cfd81a /tools/perf/scripts/python/exported-sql-viewer.py
parenta7658e1a4164ce2b9eb4a11aadbba38586e93bd6 (diff)
selftests/bpf: Add kfree_skb raw_tp test
Load basic cls_bpf program. Load raw_tracepoint program and attach to kfree_skb raw tracepoint. Trigger cls_bpf via prog_test_run. At the end of test_run kernel will call kfree_skb which will trigger trace_kfree_skb tracepoint. Which will call our raw_tracepoint program. Which will take that skb and will dump it into perf ring buffer. Check that user space received correct packet. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions