Lines Matching refs:capture

28  * DDB capture support: capture kernel debugger output into a fixed-size
62 static MALLOC_DEFINE(M_DDB_CAPTURE, "ddb_capture", "DDB capture buffer");
77 static int db_capture_inpager; /* Suspend capture in pager. */
78 static int db_capture_inprogress; /* DDB capture currently in progress. */
83 static SYSCTL_NODE(_debug_ddb, OID_AUTO, capture, CTLFLAG_RW, 0,
84 "DDB capture options");
87 &db_capture_bufoff, 0, "Bytes of data in DDB capture buffer");
91 "Maximum value for debug.ddb.capture.bufsize");
94 &db_capture_inprogress, 0, "DDB output capture in progress");
97 * Boot-time allocation of the DDB capture buffer, if any. Force all buffer
104 TUNABLE_INT_FETCH("debug.ddb.capture.bufsize", &db_capture_bufsize);
118 * Run-time adjustment of the capture buffer.
168 "Size of DDB capture buffer");
171 * Sysctl to read out the capture buffer from userspace. We require
193 NULL, 0, sysctl_debug_ddb_capture_data, "A", "DDB capture data");
237 * Zero out any bytes left in the last block of the DDB capture buffer. This
239 * capture is stopped, in order to avoid injecting nul's into the middle of
254 * Reset capture state, which flushes buffers.
266 * Start capture. Only one session is allowed at any time, but we may
281 * Terminate DDB output capture--real work is deferred to db_capture_dump,
283 * capture may be started again before the dump takes place.
297 * Dump DDB(4) captured output (and resets capture buffers).
319 * DDB(4) command to manage capture:
321 * capture on - start DDB output capture
322 * capture off - stop DDB output capture
323 * capture reset - reset DDB capture buffer (also stops capture)
324 * capture status - print DDB output capture status
330 db_error("capture [on|off|reset|status]\n");
355 db_printf("capture is on\n");
357 db_printf("capture is off\n");