]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Add uprobe sessions to consumer test
authorJiri Olsa <jolsa@kernel.org>
Fri, 8 Nov 2024 13:45:43 +0000 (14:45 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 11 Nov 2024 16:18:20 +0000 (08:18 -0800)
commitb1c570adc7a6f6cbb42926d5313036ed1543f00e
treea8defed831aa074fe794675a388135665655f4b0
parentc574bcd6229333c211dbf4ecba2988c3581b0f92
selftests/bpf: Add uprobe sessions to consumer test

Adding uprobe session consumers to the consumer test,
so we get the session into the test mix.

In addition scaling down the test to have just 1 uprobe
and 1 uretprobe, otherwise the test time grows and is
unsuitable for CI even with threads.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241108134544.480660-13-jolsa@kernel.org
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
tools/testing/selftests/bpf/progs/uprobe_multi_consumers.c