用EXPERT和没有DEBUG_KERNEL构建linux内核

时间:2017-02-02 16:13:20

标签: linux debugging kernel

建立主线内核(4.9.y atm)是一个好主意,没有DEBUG_KERNEL但启用了EXPERT? 我通过删除init / Kconfig中的第1383行(“select DEBUG_KERNEL”)来实现此目的:

> menuconfig EXPERT
> bool "Configure standard kernel features (expert users)"  
> # Unhide debug options, to make the on-by-default options visible     
> select DEBUG_KERNEL <--- *this line*
>   help      
> This option allows certain base
> kernel options and settings
> to be disabled or tweaked. This is for specialized
> environments which can tolerate a "non-standard" kernel.
> Only use this if you really know what you are doing.

我认为这应该可以减少开销但是会导致问题吗? 为什么DEBUG_KERNEL被迫来到这里?

0 个答案:

没有答案