linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 bpf-next 0/4] selftests/bpf: Add uprobe multi pid filter test
@ 2024-09-05 11:51 Jiri Olsa
  2024-09-05 11:51 ` [PATCHv2 bpf-next 1/4] bpf: Fix uprobe multi pid filter check Jiri Olsa
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jiri Olsa @ 2024-09-05 11:51 UTC (permalink / raw)
  To: Oleg Nesterov, Peter Zijlstra, Andrii Nakryiko, Tianyi Liu,
	Masami Hiramatsu
  Cc: bpf, Steven Rostedt, linux-kernel, linux-trace-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-05 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 11:51 [PATCHv2 bpf-next 0/4] selftests/bpf: Add uprobe multi pid filter test Jiri Olsa
2024-09-05 11:51 ` [PATCHv2 bpf-next 1/4] bpf: Fix uprobe multi pid filter check Jiri Olsa
2024-09-05 14:07   ` Oleg Nesterov
2024-09-05 11:51 ` [PATCHv2 bpf-next 2/4] selftests/bpf: Add child argument to spawn_child function Jiri Olsa
2024-09-05 11:51 ` [PATCHv2 bpf-next 3/4] selftests/bpf: Add uprobe multi pid filter test for fork-ed processes Jiri Olsa
2024-09-05 11:51 ` [PATCHv2 bpf-next 4/4] selftests/bpf: Add uprobe multi pid filter test for clone-ed processes Jiri Olsa
2024-09-05 20:10 ` [PATCHv2 bpf-next 0/4] selftests/bpf: Add uprobe multi pid filter test patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).