selftests/bpf: Add uprobe multi pid filter test
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied 4/4
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- focused on uprobe multi only, removed perf event uprobe specific parts
- added fix and test for CLONE_VM process filter
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Fix uprobe multi pid filter checkkernel/ | +1 | 1 reply | Applied |
| 2/4 | selftests/bpf: Add child argument to spawn_child functiontools/ | +39 | 0 replies | Applied |
| 3/4 | selftests/bpf: Add uprobe multi pid filter test for fork-ed processestools/ tools/ | +107 | 0 replies | Applied |
| 4/4 | selftests/bpf: Add uprobe multi pid filter test for clone-ed processestools/ | +42 | 0 replies | Applied |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Oleg Nesterov |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 bpf-next 0/4] selftests/bpf: Add uprobe multi pid filter test
hi,
sending fix for uprobe multi pid filtering together with tests. The first version included tests for standard uprobes, but as we still do not have fix for that, sending just uprobe multi changes.
thanks,
jirka
v2 changes:
- focused on uprobe multi only, removed perf event uprobe specific parts
- added fix and test for CLONE_VM process filter
---
Jiri Olsa (4):
bpf: Fix uprobe multi pid filter check
selftests/bpf: Add child argument to spawn_child function selftests/bpf: Add uprobe multi pid filter test for fork-ed processes selftests/bpf: Add uprobe multi pid filter test for clone-ed processes
kernel/trace/bpf_trace.c | 2 +- tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------- tools/testing/selftests/bpf/progs/uprobe_multi_pid_filter.c | 40 +++++++++++++++++++ 3 files changed, 177 insertions(+), 59 deletions(-) create mode 100644 tools/testing/selftests/bpf/progs/uprobe_multi_pid_filter.c