Skip to content

Commit

Permalink
samples/bpf: Remove sample tracex2
Browse files Browse the repository at this point in the history
In commit ba8de79 ("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: torvalds@ba8de79
Signed-off-by: Rong Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
  • Loading branch information
Rtoax authored and Alexei Starovoitov committed Sep 4, 2024
1 parent 02baa0a commit 46f4ea0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 289 deletions.
3 changes: 0 additions & 3 deletions samples/bpf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tprogs-y += sockex1
tprogs-y += sockex2
tprogs-y += sockex3
tprogs-y += tracex1
tprogs-y += tracex2
tprogs-y += tracex3
tprogs-y += tracex4
tprogs-y += tracex5
Expand Down Expand Up @@ -63,7 +62,6 @@ sockex1-objs := sockex1_user.o
sockex2-objs := sockex2_user.o
sockex3-objs := sockex3_user.o
tracex1-objs := tracex1_user.o $(TRACE_HELPERS)
tracex2-objs := tracex2_user.o
tracex3-objs := tracex3_user.o
tracex4-objs := tracex4_user.o
tracex5-objs := tracex5_user.o $(TRACE_HELPERS)
Expand Down Expand Up @@ -105,7 +103,6 @@ always-y += sockex1_kern.o
always-y += sockex2_kern.o
always-y += sockex3_kern.o
always-y += tracex1.bpf.o
always-y += tracex2.bpf.o
always-y += tracex3.bpf.o
always-y += tracex4.bpf.o
always-y += tracex5.bpf.o
Expand Down
99 changes: 0 additions & 99 deletions samples/bpf/tracex2.bpf.c

This file was deleted.

187 changes: 0 additions & 187 deletions samples/bpf/tracex2_user.c

This file was deleted.

0 comments on commit 46f4ea0

Please sign in to comment.