Date: Tue, 3 Apr 2012 07:40:29 +0200 From: Robert Millan <rmh@freebsd.org> To: freebsd-xen@freebsd.org Cc: Steven Chamberlain <steven@pyro.eu.org> Subject: [PATCH] Resync debug options in XEN with the ones in GENERIC Message-ID: <CAOfDtXO_wK7442AXZJii4-8zKZ_U9UVMbyJwt9B=H66How_crA@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hi, Unfortunately I can't test this, but it seems like an obvious fix. The only direct effect is enabling MALLOC_DEBUG_MAXZONES. Also, the expectation is that releng branches would replace all this with KDB_TRACE. Does this look right? -- Robert Millan [-- Attachment #2 --] Index: sys/i386/conf/XEN =================================================================== --- sys/i386/conf/XEN (revision 233517) +++ sys/i386/conf/XEN (working copy) @@ -44,8 +44,11 @@ options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AUDIT # Security event auditing -# Debugging for use in -current +# Debugging support. Always need this: options KDB # Enable kernel debugger support. +# For minimum debugger support (stable branch) use: +#options KDB_TRACE # Print a stack trace for a panic. +# For full debugger support use this instead: options DDB # Support DDB. options GDB # Support remote GDB. options DEADLKRES # Enable the deadlock resolver @@ -53,6 +56,7 @@ options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed +options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones options PAE nooption NATIVEhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXO_wK7442AXZJii4-8zKZ_U9UVMbyJwt9B=H66How_crA>
