]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for the DTrace struct proc and struct thread extended
authorJohn Birrell <jb@FreeBSD.org>
Sun, 18 May 2008 19:43:52 +0000 (19:43 +0000)
committerJohn Birrell <jb@FreeBSD.org>
Sun, 18 May 2008 19:43:52 +0000 (19:43 +0000)
commit80544aebe3e78b37f725a81cd48ae783372dc781
treec765ecb81d9c7e70569fa3ab069ebbb12c349660
parent5572901b331d35a779ce756ba4b25a41cc082d0c
Add support for the DTrace struct proc and struct thread extended
data via ctor and dtor event handlers.

The size of the extra data is allocated opaquely and this file
contains a function which the dtrace module can call to check
that the kernel supports at least the amount of data that it needs.

This file is optionally compiled into nthe kernel if the KDTRACE_HOOKS
kernel option is defined.
sys/kern/kern_dtrace.c [new file with mode: 0644]