summaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-01-22 20:16:31 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-02-23 02:38:52 +0300
commit08701813a1b439f01e52c10e66ee2e99d9d23c6c (patch)
tree2fa580f2642228f8f054a639a83ec76f093429ed /scripts/gdb/vmlinux-gdb.py
parentd6bbab8f352efb0533d3fa4af09bb60da770ecc5 (diff)
downloadlinux-08701813a1b439f01e52c10e66ee2e99d9d23c6c.tar.xz
ptrace_attach: shift send(SIGSTOP) into ptrace_set_stopped()
Turn send_sig_info(SIGSTOP) into send_signal_locked(SIGSTOP) and move it from ptrace_attach() to ptrace_set_stopped(). This looks more logical and avoids lock(siglock) right after unlock(). Link: https://lkml.kernel.org/r/20240122171631.GA29844@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions