diff options
author | Oleg Nesterov <[email protected]> | 2024-08-01 15:27:28 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-08-02 11:30:31 +0200 |
commit | e04332ebc8ac128fa551e83f1161ab1c094d13a9 (patch) | |
tree | f0bc7d90f693da62bc51c99a224277a0b70afb8a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | db61e6a4eee5a7884b2cafeaf407895f253bbaa7 (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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions