how to increase kernel debug level from 4 to 10 at the boot time ?

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

 



Hi,

How to increase kernel debug level from 4 to 10 at the boot time ?

What CONFIG_DEBUG_KERNEL do if set to "y" ?

I see in init/main.c the following functions:

static int __init debug_kernel(char *str)
{
        if (*str)
                return 0;
        console_loglevel = 10;
        return 1;
}

static int __init quiet_kernel(char *str)
{
        if (*str)
                return 0;
        console_loglevel = 4;
        return 1;
}

__setup("debug", debug_kernel);
__setup("quiet", quiet_kernel);

Are those functions to be called "manually" (where ?) or 
they get called "automatically" upon setting CONFIG_DEBUG_KERNEL to "y" in .config ?

Thanks !



___________________________________________________________________
Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.juno.com/surf to sign up today!


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux