Thanks! One more question, if I may: The kernel log says: Jun 24 03:43:06 localhost kernel: [ 1858.148661] in my_func1 where is the "localhost" from ? the "hostname" util does **not** show localhost, by amd1. I am not sure, if remember well, there were machines on which the hostname appeared instead of localhost rgs Kevin On Tue, Jun 25, 2013 at 6:07 PM, <Valdis.Kletnieks@xxxxxx> wrote: > On Tue, 25 Jun 2013 12:04:08 +0300, Kevin Wilson said: >> Hi, >> You are right, thanks! >> disabling CONFIG_PRINTK_TIME prevented this timestamps. >> >> I believe they should have provide some sysfs entry for this, sorry >> they did not do so > > Well actually, there's a boot-time cmdline parameter: > > printk.time= Show timing data prefixed to each printk message line > Format: <bool> (1/Y/y=enable, 0/N/n=disable) > > And since the code that handles it treats it as a module parameter (even though > it's always builtin), you get this for free: > > % ls -l /sys/module/printk/parameters > total 0 > -rw-r--r--. 1 root root 4096 Jun 25 11:05 always_kmsg_dump > -rw-r--r--. 1 root root 4096 Jun 25 11:05 console_suspend > -rw-r--r--. 1 root root 4096 Jun 25 11:05 ignore_loglevel > -rw-r--r--. 1 root root 4096 Jun 25 11:05 time > > So save yourselves the embarassment of submitting a patch to add it. ;) > > > > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies