summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-01-26 23:02:14 +0000
committerrwatson <rwatson@FreeBSD.org>2008-01-26 23:02:14 +0000
commit44c26c0841ff6f21102de4e6dab10e4de9a40207 (patch)
tree85ff783c8548ad4648106a46380ad1a2db4b325e
parentafe3cc011f44182142cb0d57c50ae8e66bd9948b (diff)
downloadFreeBSD-src-44c26c0841ff6f21102de4e6dab10e4de9a40207.zip
FreeBSD-src-44c26c0841ff6f21102de4e6dab10e4de9a40207.tar.gz
Increase maximum DDB capture buffer size to 5MB.
PR: 119993 MFC after: 2 months Suggested by: Scot Hetzel <swhetzel at gmail dot com>
-rw-r--r--sys/ddb/db_capture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_capture.c b/sys/ddb/db_capture.c
index 75da64e..8cefcdf 100644
--- a/sys/ddb/db_capture.c
+++ b/sys/ddb/db_capture.c
@@ -65,7 +65,7 @@ static MALLOC_DEFINE(M_DDB_CAPTURE, "ddb_capture", "DDB capture buffer");
#define DDB_CAPTURE_DEFAULTBUFSIZE 48*1024
#endif
#ifndef DDB_CAPTURE_MAXBUFSIZE
-#define DDB_CAPTURE_MAXBUFSIZE 512*1024
+#define DDB_CAPTURE_MAXBUFSIZE 5*1024*1024
#endif
#define DDB_CAPTURE_FILENAME "ddb.txt" /* Captured DDB output. */
OpenPOWER on IntegriCloud