]> git.hungrycats.org Git - linux/commit
samples/bpf: Remove sample tracex2
authorRong Tao <rongtao@cestc.cn>
Sat, 31 Aug 2024 00:03:38 +0000 (08:03 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 4 Sep 2024 18:53:53 +0000 (11:53 -0700)
commit46f4ea04e053e5dd01459bfbbd8e905a4ccd4190
treeda2877c45af6e651c6b1d4f998d30acd740a894b
parent02baa0a2a677cf543899bc3eb43ed92caf4aba7a
samples/bpf: Remove sample tracex2

In commit ba8de796baf4 ("net: introduce sk_skb_reason_drop function")
kfree_skb_reason() becomes an inline function and cannot be traced.

samples/bpf is abandonware by now, and we should slowly but surely
convert whatever makes sense into BPF selftests under
tools/testing/selftests/bpf and just get rid of the rest.

Link: https://github.com/torvalds/linux/commit/ba8de796baf4bdc03530774fb284fe3c97875566
Signed-off-by: Rong Tao <rongtao@cestc.cn>
Link: https://lore.kernel.org/r/tencent_30ADAC88CB2915CA57E9512D4460035BA107@qq.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/Makefile
samples/bpf/tracex2.bpf.c [deleted file]
samples/bpf/tracex2_user.c [deleted file]