aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-11-28 23:09:00 -0800
committerDaniel Borkmann <[email protected]>2022-11-30 22:47:43 +0100
commit443f216448ab5ddd1b4d08ad6c9b69628ac25adf (patch)
tree15d8eb3b29571d530d412ed163bbe1083790d2df /tools/perf/scripts/python/stackcollapse.py
parent9b6a7773973707bad13f6c8b2a27e93ef4d46182 (diff)
selftests/bpf: Avoid pinning prog when attaching to tc ingress in btf_skc_cls_ingress
This patch removes the need to pin prog when attaching to tc ingress in the btf_skc_cls_ingress test. Instead, directly use the bpf_tc_hook_create() and bpf_tc_attach(). The qdisc clsact will go away together with the netns, so no need to bpf_tc_hook_destroy(). Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Stanislav Fomichev <[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