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
Parents
rS355915: Fix a bug in r355784. I missed a sched_add() call that needed to reacquire
Branches
Unknown
Tags
Unknown