HomeFreeBSD

Fix SIGINFO stack collection to ignore threads with swapped-out stacks.

Description

Fix SIGINFO stack collection to ignore threads with swapped-out stacks.

We by definition cannot trace the stack of such a thread. Also remove a
redundant stack_zero() call in the SIGINFO handler, the stack structure
is cleared by the MD stack_capture().

Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Dec 19 2019, 7:34 PM
Parents
rGd8d5f03610e9: Fix a bug in r355784. I missed a sched_add() call that needed to reacquire
Branches
Unknown
Tags
Unknown

Event Timeline