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