aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-04-25 13:23:36 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-04-25 13:23:36 +0000
commit92e6c2fd6d2d32b2d703cbf238f7a4a6b63f013b (patch)
treef3b66ff7822a8a511408cb087381eb23c6db1c1f /sys/ddb
parentfe5f08cda361ea9a13766405ca7e54cdc8764f49 (diff)
Notes
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_capture.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ddb/db_capture.c b/sys/ddb/db_capture.c
index 8cefcdfccad9..61971c2be684 100644
--- a/sys/ddb/db_capture.c
+++ b/sys/ddb/db_capture.c
@@ -83,13 +83,16 @@ SX_SYSINIT(db_capture_sx, &db_capture_sx, "db_capture_sx");
static SYSCTL_NODE(_debug_ddb, OID_AUTO, capture, CTLFLAG_RW, 0,
"DDB capture options");
-SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, bytes, CTLFLAG_RD,
+SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, bufoff, CTLFLAG_RD,
&db_capture_bufoff, 0, "Bytes of data in DDB capture buffer");
SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, maxbufsize, CTLFLAG_RD,
&db_capture_maxbufsize, 0,
"Maximum value for debug.ddb.capture.bufsize");
+SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, inprogress, CTLFLAG_RD,
+ &db_capture_inprogress, 0, "DDB output capture in progress");
+
/*
* Boot-time allocation of the DDB capture buffer, if any. Force all buffer
* sizes, including the maximum size, to be rounded to block sizes.