diff options
author | benno <benno@FreeBSD.org> | 2006-05-12 02:01:38 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2006-05-12 02:01:38 +0000 |
commit | ed056cb6c7f4ae79404c66f2dd822e4687301e86 (patch) | |
tree | 6de1b7e8074fa81d29bd7f57261d9e2dedf3cb88 /sys/conf | |
parent | 7c592195ba609d3a95049d69931a8c5f5ac601ba (diff) | |
download | FreeBSD-src-ed056cb6c7f4ae79404c66f2dd822e4687301e86.zip FreeBSD-src-ed056cb6c7f4ae79404c66f2dd822e4687301e86.tar.gz |
Add a new kernel config option, VERBOSE_SYSINIT.
When porting FreeBSD to a new platform, one of the more useful things to do is
get mi_startup() to let you know which SYSINIT it's up to. Most people tend to
whack a printf in the SYSINIT loop to print the address of the function it's
about to call. Going one better, jhb made a version that uses DDB to look up
the name of the function and print that instead. This version is essentially
his with the addition of some ifdeffery to make it optional and to allow it to
work (although using only the function address, not the symbol) if you forgot
to enable DDB.
All the cool bits by: jhb
Approved by: scottl, rink, cognet, imp
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/options | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options index c5a19a7..a30da2c 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -158,6 +158,7 @@ SW_WATCHDOG opt_watchdog.h TURNSTILE_PROFILING TTYHOG opt_tty.h VFS_AIO +VERBOSE_SYSINIT opt_global.h WLCACHE opt_wavelan.h WLDEBUG opt_wavelan.h |