diff options
author | Oleg Nesterov <oleg@redhat.com> | 2024-09-29 16:42:39 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-10-07 09:28:44 +0200 |
commit | 430af825ba991730f8acc3c804a4aef82e9f7ff6 (patch) | |
tree | bf3560527a8f0bb5937c3bae5274df3328ba1655 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c7b4133c48445dde789ed30b19ccb0448c7593f7 (diff) |
uprobes: kill the unnecessary put_uprobe/xol_free_insn_slot in uprobe_free_utask()
If pre_ssout() succeeds and sets utask->active_uprobe and utask->xol_vaddr
the task must not exit until it calls handle_singlestep() which does the
necessary put_uprobe() and xol_free_insn_slot().
Remove put_uprobe() and xol_free_insn_slot() from uprobe_free_utask(). With
this change xol_free_insn_slot() can't hit xol_area/utask/xol_vaddr == NULL,
we can kill the unnecessary checks checks and simplify this function more.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240929144239.GA9475@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions