summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/uprobe_multi_consumers.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-11selftests/bpf: Add uprobe sessions to consumer testJiri Olsa1-3/+3
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
2024-07-30selftests/bpf: Add uprobe multi consumers testJiri Olsa1-0/+39
Adding test that attaches/detaches multiple consumers on single uprobe and verifies all were hit as expected. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240722202758.3889061-3-jolsa@kernel.org