Changeset View
Changeset View
Standalone View
Standalone View
sys/ddb/db_textdump.c
Show All 12 Lines | |||||
#include <sys/kerneldump.h> | #include <sys/kerneldump.h> | ||||
#include <sys/msgbuf.h> | #include <sys/msgbuf.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <ddb/ddb.h> | #include <ddb/ddb.h> | ||||
#include <ddb/db_lex.h> | #include <ddb/db_lex.h> | ||||
static SYSCTL_NODE(_debug_ddb, OID_AUTO, textdump, CTLFLAG_RW, 0, | static SYSCTL_NODE(_debug_ddb, OID_AUTO, textdump, | ||||
CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | |||||
"DDB textdump options"); | "DDB textdump options"); | ||||
/* | /* | ||||
* Don't touch the first SIZEOF_METADATA bytes on the dump device. This is | * Don't touch the first SIZEOF_METADATA bytes on the dump device. This is | ||||
* to protect us from metadata and metadata from us. | * to protect us from metadata and metadata from us. | ||||
*/ | */ | ||||
#define SIZEOF_METADATA (64*1024) | #define SIZEOF_METADATA (64*1024) | ||||
Show All 12 Lines |