Re: [PATCH perf/core 05/22] uprobes: Add nbytes argument to uprobe_write

Andrii Nakryiko
2025-04-22T23:48:31Z

On Mon, Apr 21, 2025 at 2:45 PM Jiri Olsa <jolsa@kernel.org> wrote:
>
> Adding nbytes argument to uprobe_write and related functions as
> preparation for writing whole instructions in following changes.
>
> Also renaming opcode arguments to insn, which seems to fit better.
>
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
> include/linux/uprobes.h | 6 +++---
> kernel/events/uprobes.c | 27 ++++++++++++++-------------
> 2 files changed, 17 insertions(+), 16 deletions(-)
>

Acked-by: Andrii Nakryiko <andrii@kernel.org> …