linux/arch/arm/probes
Jiri Olsa ec46350fe1 uprobes: Add is_register argument to uprobe_write and uprobe_write_opcode
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
2025-08-21 20:09:19 +02:00
..
kprobes asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
uprobes uprobes: Add is_register argument to uprobe_write and uprobe_write_opcode 2025-08-21 20:09:19 +02:00
Makefile
decode-arm.c
decode-arm.h
decode-thumb.c
decode-thumb.h
decode.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
decode.h ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-06 22:44:49 +01:00