diff options
author | jhb <jhb@FreeBSD.org> | 2016-08-12 19:43:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-08-12 19:43:06 +0000 |
commit | c6f0dbfd1595d345cf15a1b64b1ef174e21206a2 (patch) | |
tree | 2b023915269e488d18e1d560fe148306d6176aa9 /contrib/diff | |
parent | 65cab655fa20d4845c4d317c464c0835a03be574 (diff) | |
download | FreeBSD-src-c6f0dbfd1595d345cf15a1b64b1ef174e21206a2.zip FreeBSD-src-c6f0dbfd1595d345cf15a1b64b1ef174e21206a2.tar.gz |
MFC 292894,292896: Add ptrace(2) reporting for LWP events.
292894:
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.
292896:
Document the recently added support for ptrace(2) LWP events.
Diffstat (limited to 'contrib/diff')
0 files changed, 0 insertions, 0 deletions