Skip to content

Commit 46f4ea0

Browse files
RtoaxAlexei Starovoitov
authored andcommitted
samples/bpf: Remove sample tracex2
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]>
1 parent 02baa0a commit 46f4ea0

File tree

3 files changed

+0
-289
lines changed

3 files changed

+0
-289
lines changed

samples/bpf/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ tprogs-y += sockex1
1313
tprogs-y += sockex2
1414
tprogs-y += sockex3
1515
tprogs-y += tracex1
16-
tprogs-y += tracex2
1716
tprogs-y += tracex3
1817
tprogs-y += tracex4
1918
tprogs-y += tracex5
@@ -63,7 +62,6 @@ sockex1-objs := sockex1_user.o
6362
sockex2-objs := sockex2_user.o
6463
sockex3-objs := sockex3_user.o
6564
tracex1-objs := tracex1_user.o $(TRACE_HELPERS)
66-
tracex2-objs := tracex2_user.o
6765
tracex3-objs := tracex3_user.o
6866
tracex4-objs := tracex4_user.o
6967
tracex5-objs := tracex5_user.o $(TRACE_HELPERS)
@@ -105,7 +103,6 @@ always-y += sockex1_kern.o
105103
always-y += sockex2_kern.o
106104
always-y += sockex3_kern.o
107105
always-y += tracex1.bpf.o
108-
always-y += tracex2.bpf.o
109106
always-y += tracex3.bpf.o
110107
always-y += tracex4.bpf.o
111108
always-y += tracex5.bpf.o

samples/bpf/tracex2.bpf.c

Lines changed: 0 additions & 99 deletions
This file was deleted.

samples/bpf/tracex2_user.c

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)