summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2024-12-12 19:40:55 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2024-12-20 23:13:31 +0100
commit9ee0c7b8654346d60c823babe4b3747357a30477 (patch)
tree957e7fd85279fe8c3ce47423d663817dfa4cb25f /tools/perf/scripts/python/stackcollapse.py
parent9ecc4d858b92c1bb0673ad9c327298e600c55659 (diff)
selftests/bpf: Add a BPF selftest for bpf_skb_change_tail()
As requested by Daniel, we need to add a selftest to cover bpf_skb_change_tail() cases in skb_verdict. Here we test trimming, growing and error cases, and validate its expected return values and the expected sizes of the payload. Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20241213034057.246437-3-xiyou.wangcong@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions