summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-04-02 09:26:51 +0000
committerphk <phk@FreeBSD.org>2000-04-02 09:26:51 +0000
commitbe39d0d9f16800f267e93cc5537b59ccbf8895de (patch)
tree95c34f5eac9fbaf29607b11d62b009baff3acc34 /sys/kern/kern_mib.c
parent11f5dbf6897a8026bafb56ba3acc49a9389b1d5e (diff)
downloadFreeBSD-src-be39d0d9f16800f267e93cc5537b59ccbf8895de.zip
FreeBSD-src-be39d0d9f16800f267e93cc5537b59ccbf8895de.tar.gz
Draw the outline of "struct bio".
Struct bio is the future carrier of I/O requests for "struct buf".
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r--sys/kern/kern_mib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index a07988e..375b500 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -246,3 +246,9 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, proc, CTLFLAG_RD,
#include <sys/conf.h>
SYSCTL_INT(_debug_sizeof, OID_AUTO, specinfo, CTLFLAG_RD,
0, sizeof(struct specinfo), "sizeof(struct specinfo)");
+
+#include <sys/buf.h>
+SYSCTL_INT(_debug_sizeof, OID_AUTO, bio, CTLFLAG_RD,
+ 0, sizeof(struct bio), "sizeof(struct bio)");
+SYSCTL_INT(_debug_sizeof, OID_AUTO, buf, CTLFLAG_RD,
+ 0, sizeof(struct buf), "sizeof(struct buf)");
OpenPOWER on IntegriCloud