diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-04-25 13:23:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-04-25 13:23:36 +0000 |
commit | 9974b0faa8c0ed733f34461d8a27744abc7871c0 (patch) | |
tree | f3b66ff7822a8a511408cb087381eb23c6db1c1f /sys | |
parent | f509182dbee01017f028595092322c486af108d8 (diff) | |
download | FreeBSD-src-9974b0faa8c0ed733f34461d8a27744abc7871c0.zip FreeBSD-src-9974b0faa8c0ed733f34461d8a27744abc7871c0.tar.gz |
Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in
order to match the internal variable name.
Add a new sysctl debug.ddb.capture.inprogress to export the inprogress
variable.
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_capture.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ddb/db_capture.c b/sys/ddb/db_capture.c index 8cefcdf..61971c2 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. |