DDB capture buffer

Dag-Erling Smørgrav des at des.no
Sat Sep 12 13:54:01 UTC 2009


The default maximum size of the DDB capture buffer is 48 kB.  This is
ridiculously low; it's not even nearly enough to capture the output from
the first example in textdump(4):

    script kdb.enter.panic=textdump set; capture on; show allpcpu; bt;
         ps; alltrace; show alllocks; call doadump; reset

Would anyone object to increasing it to 1 MB?  DDB is opt-in, so it will
only affect people who compile it into their kernel (or -CURRENT users
who don't compile it out; they have it coming).

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list