summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-09-29 17:42:39 +0300
committerPeter Zijlstra <peterz@infradead.org>2024-10-07 10:28:44 +0300
commit430af825ba991730f8acc3c804a4aef82e9f7ff6 (patch)
treebf3560527a8f0bb5937c3bae5274df3328ba1655 /tools/perf/scripts/python/export-to-postgresql.py
parentc7b4133c48445dde789ed30b19ccb0448c7593f7 (diff)
downloadlinux-430af825ba991730f8acc3c804a4aef82e9f7ff6.tar.xz
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions