summaryrefslogtreecommitdiffstats
path: root/sys/sys/ktr.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-10-21 18:35:24 +0000
committerrwatson <rwatson@FreeBSD.org>2004-10-21 18:35:24 +0000
commit6a5cd72bf320b74d96d8403fec2133c1ce467294 (patch)
tree38d1c3a5c2d24db56ccf2e9b7eaad0ae30e8ee83 /sys/sys/ktr.h
parent3833976d1250bf118a46939f409012d87e558de6 (diff)
downloadFreeBSD-src-6a5cd72bf320b74d96d8403fec2133c1ce467294.zip
FreeBSD-src-6a5cd72bf320b74d96d8403fec2133c1ce467294.tar.gz
Add KTR_GEOM, which allows tracing of basic GEOM I/O events occuring
in the g_up and g_down threads. Each time a bio is propelled up and down the stack, an event is generating showing the provider, offset, and length, as well as thread wakeup and work status information.
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r--sys/sys/ktr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index fa49e76..82ebc7a 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -74,7 +74,8 @@
#define KTR_CONTENTION 0x00800000 /* Lock contention */
#define KTR_UMA 0x01000000 /* UMA slab allocator */
#define KTR_CALLOUT 0x02000000 /* Callouts and timeouts */
-#define KTR_ALL 0x02ffffff
+#define KTR_GEOM 0x04000000 /* GEOM I/O events */
+#define KTR_ALL 0x04ffffff
/*
* Trace classes which can be assigned to particular use at compile time
OpenPOWER on IntegriCloud