diff options
| author | Jiri Olsa <jolsa@kernel.org> | 2024-10-18 23:22:51 +0300 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2024-10-23 21:52:27 +0300 |
| commit | da09a9e0c3eab164af950be44ee6bdea8527c3e5 (patch) | |
| tree | 4f574f9ba44d231f004eff6689a3621573644344 /include/linux | |
| parent | de20037e1b3c2f2ca97b8c12b8c7bca8abd509a7 (diff) | |
| download | linux-da09a9e0c3eab164af950be44ee6bdea8527c3e5.tar.xz | |
uprobe: Add data pointer to consumer handlers
Adding data pointer to both entry and exit consumer handlers and all
its users. The functionality itself is coming in following change.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20241018202252.693462-2-jolsa@kernel.org
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/uprobes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 2b294bf1881f..bb265a632b91 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h @@ -37,10 +37,10 @@ struct uprobe_consumer { * for the current process. If filter() is omitted or returns true, * UPROBE_HANDLER_REMOVE is effectively ignored. */ - int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); + int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs, __u64 *data); int (*ret_handler)(struct uprobe_consumer *self, unsigned long func, - struct pt_regs *regs); + struct pt_regs *regs, __u64 *data); bool (*filter)(struct uprobe_consumer *self, struct mm_struct *mm); struct list_head cons_node; |
