diff options
| author | 2024-08-01 15:27:28 +0200 | |
|---|---|---|
| committer | 2024-08-02 11:30:31 +0200 | |
| commit | e04332ebc8ac128fa551e83f1161ab1c094d13a9 (patch) | |
| tree | f0bc7d90f693da62bc51c99a224277a0b70afb8a /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | selftests/bpf: fix uprobe.path leak in bpf_testmod (diff) | |
uprobes: kill uprobe_register_refctr()
It doesn't make any sense to have 2 versions of _register(). Note that
trace_uprobe_enable(), the only user of uprobe_register(), doesn't need
to check tu->ref_ctr_offset to decide which one should be used, it could
safely pass ref_ctr_offset == 0 to uprobe_register_refctr().
Add this argument to uprobe_register(), update the callers, and kill
uprobe_register_refctr().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240801132728.GA8800@redhat.com
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
