tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xxxVERBOSE module?



Am 20.05.10 05:52, schrieb Paul Goyette:
> From the comments in the GENERIC config files, the primary reason for
> omitting the various xxxVERBOSE options is to avoid including large text
> tables in the resulting kernel.  And I vaguely recall some spirited
> discussion back when the change was made to exclude these options by
> default.
> 
> Now that we have MODULAR kernels (at least on some architectures), I've
> been wondering if it might make sense to create a mod_verbose that could
> be loaded during start-up time and then unloaded after the machine is up
> and running.  (For plug-and-play situations, such as USB, the module
> could be reloaded and unloaded whenever a new device is added.)
> 
> Is this something that would be useful?

To my understanding most of the VERBOSE options are compile-time
switches which are used to conditionally compile debug code using
#ifdefs.  I am not sure how such a module should work then, changing
#ifdef'ed code into code that is always compiled, but only used under
certain circumstances?


Home | Main Index | Thread Index | Old Index