g
redundant tests.
[1]: https://patchwork.kernel.org/cover/13759916
Signed-off-by: Daniel T. Lee
---
samples/bpf/Makefile | 11 --
samples/bpf/test_overhead_kprobe.bpf.c | 41 -
samples/bpf/test_overhead_raw_tp.bpf.c | 17 --
samples/bpf/test_overhead_tp.bpf.c | 23 ---
sa
this test redundant.
By removing these outdated tests, this patch helps streamline and
modernize the test suite, avoiding duplication of test coverage.
Signed-off-by: Daniel T. Lee
---
samples/bpf/Makefile | 9 -
samples/bpf/test_cgrp2_array_pin.c| 106
under selftests. This migration ensures that the socket creation
blocking behavior with cgroup bpf program is properly tested within the
selftest framework.
Signed-off-by: Daniel T. Lee
---
samples/bpf/Makefile | 2 -
samples/bpf/sock_flags.bpf.c | 47
socket creation is properly tested.
Signed-off-by: Daniel T. Lee
---
samples/bpf/Makefile | 2 -
samples/bpf/test_cgrp2_sock.c | 296 --
samples/bpf/test_cgrp2_sock.sh| 137
.../selftests/bpf/prog_tests/sock_creat
s based
on cgroup. This behavior is now validated by cgroup_skb_sk_lookup,
which uses bpf_skb_cgroup_id, making this test redundant.
Daniel T. Lee (4):
selftests/bpf: migrate cgroup sock create test for setting
iface/mark/prio
selftests/bpf: migrate sock create tests for prohibitig sock
On Tue, Aug 13, 2024 at 6:17 AM Andrii Nakryiko
wrote:
>
> On Sun, Aug 11, 2024 at 5:45 PM Daniel T. Lee wrote:
> >
> > The BPF tracing infrastructure has undergone significant evolution,
> > leading to the introduction of more robust and efficient APIs.
> > Howev
obsolete
since they have been replaced by kprobe_multi_override and probe_user
from selftests/bpf respectively.
This cleanup will help to streamline the testing framework by removing
redundant tests.
Signed-off-by: Daniel T. Lee
---
samples/bpf/Makefile | 12 --
samples/
me-tp'.
Signed-off-by: Daniel T. Lee
---
tools/testing/selftests/bpf/bench.c | 2 ++
.../testing/selftests/bpf/benchs/bench_rename.c | 16
.../selftests/bpf/benchs/run_bench_rename.sh | 2 +-
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/too
'vmlinux.h', and additional test program for tracepoint
has been added.
Signed-off-by: Daniel T. Lee
---
.../selftests/bpf/prog_tests/test_overhead.c | 14 +-
tools/testing/selftests/bpf/progs/test_overhead.c | 11 +++
2 files changed, 20 insertions(+), 5 dele
s.
Daniel T. Lee (3):
selftests/bpf: migrate tracepoint overhead test to prog_tests
selftests/bpf: add rename tracepoint bench test
samples/bpf: remove obsolete tracing related tests
samples/bpf/Makefile | 12 -
samples/bpf/test_overhead_kprobe.bpf.c
10 matches
Mail list logo