HomeFreeBSD

Add ptrace(2) reporting for LWP events.

Description

Add ptrace(2) reporting for LWP events.

Add two new LWPINFO flags: PL_FLAG_BORN and PL_FLAG_EXITED for reporting
thread creation and destruction. Newly created threads will stop to report
PL_FLAG_BORN before returning to userland and exiting threads will stop to
report PL_FLAG_EXIT before exiting completely. Both of these events are
only enabled and reported if PT_LWP_EVENTS is enabled on a process.

Details

Committed
jhbDec 29 2015, 11:25 PM
Parents
rS292893: A temporary fixup for the new sendfile + new pager KPI. The new sendfile still
Branches
Unknown
Tags
Unknown