Re: seeking a .config with ALL DEBUG settings turned off...

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

 



On 2022-05-03 09:59:05 [-0400], Gautam Thaker wrote:
> I am building 5.17.1-RT and I want to disable ALL DEBUG (both related
> to RT Patch) and all others that can be turned off and still have a
> working RT kernel. I want todo this to try to measure scheduling
> latency, etc that is not marred by various counters and trace support
> things.
> 
> Is there a page or directions that can tell me how to do this? I go
> thru and disable various DEBUG settings in .config manually, but then
> I notice that making the kernel re-enables some of them, it is unclear
> to me why this is.
> 
> I do:
> 
> # cp -vi /boot/config-`uname -r` .config
> 
> as my starting point.

do "make menuconfig" and go to "Kernel hacking". Most options underneath
are related to debugging. Some options may not be disabled because they
are forced by other options. For instance if CONFIG_DEBUG_LIST is forced
enabled and you don't know why, simply click on "Help" and look for
"Selected by [y]:".
This should be the easiest way.

> Thanks.

Sebastian



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux