mirror of https://github.com/torvalds/linux.git
The uprobe_write has special path to restore the original page when we write original instruction back. This happens when uprobe_write detects that we want to write anything else but breakpoint instruction. Moving the detection away and passing it to uprobe_write as argument, so it's possible to write different instructions (other than just breakpoint and rest). Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Oleg Nesterov <oleg@redhat.com> Link: https://lore.kernel.org/r/20250720112133.244369-7-jolsa@kernel.org |
||
|---|---|---|
| .. | ||
| kprobes | ||
| uprobes | ||
| Makefile | ||
| decode-arm.c | ||
| decode-arm.h | ||
| decode-thumb.c | ||
| decode-thumb.h | ||
| decode.c | ||
| decode.h | ||