diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-10-23 10:34:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-10-23 10:34:27 +0000 |
commit | b8f5639e79b478a9f0c51705993718a90c13f555 (patch) | |
tree | bc9a03048ad38cb1845638305cfb6566fe33e889 /sys/sys/ktr.h | |
parent | 6b252d3637ae113eb753ebcb38f0f56f605e2e3e (diff) | |
download | FreeBSD-src-b8f5639e79b478a9f0c51705993718a90c13f555.zip FreeBSD-src-b8f5639e79b478a9f0c51705993718a90c13f555.tar.gz |
Add some basic KTR tracing to busdma on i386. This is likely not
the final set of traces -- someone with more busdma background
will probably want to review and expand this, as well as port to
other platforms. This tracing is sufficient to identify key
busdma events on i386, and in particular to draw attention to
bounce buffering events that may have a substantial performance
impact.
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r-- | sys/sys/ktr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h index 82ebc7a..d76e33c 100644 --- a/sys/sys/ktr.h +++ b/sys/sys/ktr.h @@ -75,7 +75,8 @@ #define KTR_UMA 0x01000000 /* UMA slab allocator */ #define KTR_CALLOUT 0x02000000 /* Callouts and timeouts */ #define KTR_GEOM 0x04000000 /* GEOM I/O events */ -#define KTR_ALL 0x04ffffff +#define KTR_BUSDMA 0x08000000 /* busdma(9) events */ +#define KTR_ALL 0x0fffffff /* * Trace classes which can be assigned to particular use at compile time |