summaryrefslogtreecommitdiffstats
path: root/sbin/ddb/ddb.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-04-25 17:34:09 +0000
committerrwatson <rwatson@FreeBSD.org>2008-04-25 17:34:09 +0000
commitc8b0048ac3ed9aff3bbafe792b35cbb126341cd0 (patch)
treee99ccd79b541b051bd09429988773c054aa6b02d /sbin/ddb/ddb.h
parent9047f0743d22eb0c15a4b22e7ca4b4a2e8d4dd69 (diff)
downloadFreeBSD-src-c8b0048ac3ed9aff3bbafe792b35cbb126341cd0.zip
FreeBSD-src-c8b0048ac3ed9aff3bbafe792b35cbb126341cd0.tar.gz
Add "ddb capture print" and "ddb capture status" commands do ddb(8),
alowing the DDB output capture buffer to be easily extracted from user space. Both of these commands include -M/-N arguments, allowing them to be used with kernel crash dumps (or /dev/mem). This makes it easier to use DDB scripting and output capture with minidumps or full dumps rather than with text dumps, allowing DDB output (scripted or otherwise) to be easily extracted from a crash dump. MFC after: 1 week Discussed with: brooks, jhb
Diffstat (limited to 'sbin/ddb/ddb.h')
-rw-r--r--sbin/ddb/ddb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ddb/ddb.h b/sbin/ddb/ddb.h
index 50128bd..8363bcc 100644
--- a/sbin/ddb/ddb.h
+++ b/sbin/ddb/ddb.h
@@ -29,6 +29,7 @@
#ifndef DDB_H
#define DDB_H
+void ddb_capture(int argc, char *argv[]);
void ddb_script(int argc, char *argv[]);
void ddb_scripts(int argc, char *argv[]);
void ddb_unscript(int argc, char *argv[]);
OpenPOWER on IntegriCloud