diff options
| author | Jiri Olsa <jolsa@kernel.org> | 2026-07-03 13:49:08 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-07-03 16:30:35 +0200 |
| commit | d9a48e77f6fe0c11d3cdfcbbcbf4a98ec402e55a (patch) | |
| tree | e3a4e3f2a2c876a96d732d72bbf7a7dbc09ce1fb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 07c308eb2bcfe4727ba669e1ba6f5b0ba7d2696e (diff) | |
uprobes/x86: Allow to copy uprobe trampolines on fork
When we do fork or clone without CLONE_VM the new process won't
have uprobe trampoline vma objects and at the same time it will
have optimized code calling that trampoline and crash.
Fixing this by allowing vma uprobe trampoline objects to be copied
on fork to the new process.
Fixes: ba2bfc97b462 ("uprobes/x86: Add support to optimize uprobes")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://patch.msgid.link/20260703114917.238144-5-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
