mbox series

[PATCHv2,bpf-next,0/4] selftests/bpf: Add uprobe multi pid filter test

Message ID 20240905115124.1503998-1-jolsa@kernel.org (mailing list archive)
Headers show
Series selftests/bpf: Add uprobe multi pid filter test | expand

Message

Jiri Olsa Sept. 5, 2024, 11:51 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 5, 2024, 8:10 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Thu,  5 Sep 2024 14:51:20 +0300 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [PATCHv2,bpf-next,1/4] bpf: Fix uprobe multi pid filter check
    https://git.kernel.org/bpf/bpf-next/c/900f362e2062
  - [PATCHv2,bpf-next,2/4] selftests/bpf: Add child argument to spawn_child function
    https://git.kernel.org/bpf/bpf-next/c/0b0bb453716f
  - [PATCHv2,bpf-next,3/4] selftests/bpf: Add uprobe multi pid filter test for fork-ed processes
    https://git.kernel.org/bpf/bpf-next/c/8df43e859454
  - [PATCHv2,bpf-next,4/4] selftests/bpf: Add uprobe multi pid filter test for clone-ed processes
    https://git.kernel.org/bpf/bpf-next/c/d2520bdb1932

You are awesome, thank you!