HomeFreeBSD

Add kernel option KSTACK_USAGE_PROF to sample the stack depth on

Description

Add kernel option KSTACK_USAGE_PROF to sample the stack depth on
interrupts and report the largest value seen as sysctl
debug.max_kstack_used. Useful to estimate how close the kernel stack
size is to overflow.

In collaboration with: Larry Baird <lab@gta.com>
Sponsored by: The FreeBSD Foundation (kib)
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS272535: Fixes for i/o during coredumping:
Branches
Unknown
Tags
Unknown

Event Timeline