]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: 238366, 240924
authorgnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 7 Dec 2012 19:06:40 +0000 (19:06 +0000)
committergnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 7 Dec 2012 19:06:40 +0000 (19:06 +0000)
commiteadf9f5572be498936d94cbe23b56481dc2ce30b
tree14a6d4be786506756823361f6724b8f618bd672b
parent38d1b6ce512a18cc5690dce00df6d7cfb67eccb6
MFC: 238366, 240924

Initial commit of an I/O provider for DTrace on FreeBSD.

 These probes are most useful when looking into the structures
 they provide, which are listed in io.d.  For example:

 dtrace -n 'io:kernel::start { printf("%d\n", args[0]->bio_bcount); }'

 Note that the I/O systems in FreeBSD and Solaris/Illumos are sufficiently
 different that there is not a 1:1 mapping from scripts that work
 with one to the other.

This commit includes the fix so that our probes use "kernel"
instead of the Solaris specific "genunix"

git-svn-id: svn://svn.freebsd.org/base/stable/9@243989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/lib/libdtrace/Makefile
cddl/lib/libdtrace/io.d [new file with mode: 0644]
sys/kern/dtio_kdtrace.c [new file with mode: 0644]
sys/kern/subr_devstat.c
sys/modules/dtrace/Makefile
sys/modules/dtrace/dtio/Makefile [new file with mode: 0644]
sys/modules/dtrace/dtraceall/dtraceall.c
sys/sys/dtrace_bsd.h