DDB capture buffer
Gary Jennejohn
gary.jennejohn at freenet.de
Sun Sep 13 08:43:00 UTC 2009
On Sat, 12 Sep 2009 15:53:59 +0200
Dag-Erling Sm__rgrav <des at des.no> wrote:
> 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).
>
I'd say it's a good idea, as long as you put a warning in UPDATING for people
using e.g. embedded devices with little memory. It's reasonable to expect such
users to customize their kernel configs.
---
Gary Jennejohn
More information about the freebsd-hackers
mailing list