3fac94ba94
These probes are most useful when looking into the structures they provide, which are listed in io.d. For example: dtrace -n 'io:genunix::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. MFC after: 1 month
14 lines
263 B
Makefile
14 lines
263 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../kern
|
|
|
|
KMOD= dtio
|
|
SRCS= dtio_kdtrace.c \
|
|
vnode_if.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \
|
|
-I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \
|
|
-I${.CURDIR}/../../..
|
|
|
|
.include <bsd.kmod.mk>
|