LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-20-2014, 11:44 PM   #1
rajes4india
Member
 
Registered: Aug 2011
Location: Germany
Posts: 35

Rep: Reputation: Disabled
Unhappy How to enable CONFIG_PRINTK_TIME


Hi Friends,

I am debugging kernel for one of network control issue. i need to enable time stamp on log message.

please share how to enable CONFIG_PRINTK_TIME and CONFIG_DEBUG_KERNEL.

thanks in advance.

thanks
Rajesh kumar V
 
Old 07-21-2014, 03:12 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You'll find these options under:
Code:
Symbol: PRINTK_TIME [=n]                                                                                                
  | Type  : boolean                                                                                                          
  | Prompt: Show timing information on printks                                                                                
  |   Location:                                                                                                               
  |     -> Kernel hacking                                                                                                    
  | (1)   -> printk and dmesg options
Code:
 Symbol: DEBUG_KERNEL [=n]                                                                            
  | Type  : boolean                                                                                                       
  | Prompt: Kernel debugging                                                                                            
  |   Location:                                                                                                              
  | (1) -> Kernel hacking
Regards
 
Old 09-30-2014, 12:38 AM   #3
KernelDev0815
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Rep: Reputation: 2
Friendly note: please also pay close attention to its Kconfig help text (PRINTK_TIME is a *permanently* enabled i.e. binary build-time option, whereas enabling via kernel boot cmdline parm is fully dynamic i.e. will skip timestamp logging efforts once not specified).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recompile squid to enable -enable-storeio=coss ejinh Fedora 2 08-11-2010 04:15 AM
How to enable telnet? malli42108 Linux - Newbie 3 10-24-2009 09:07 PM
GD Enable vadivelphp Linux - Server 1 03-27-2009 10:20 AM
Enable USB? jmkelm08 Linux - Hardware 19 07-14-2006 05:45 PM
Can't enable 3D yzrider210 Linux - Hardware 24 12-29-2003 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration