]> git.baikalelectronics.ru Git - kernel.git/commit
enhance initcall_debug, measure latency
authorIngo Molnar <mingo@elte.hu>
Tue, 8 May 2007 07:28:26 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:07 +0000 (11:15 -0700)
commit99eee6918e002deb4374d51e33807d76b74cb957
tree1940c1f08b9bc6e2429559ba19b71b725ad9524c
parentff3d2da26f02fa72d8b7e2fee814bf766b60d7e3
enhance initcall_debug, measure latency

enhance the initcall_debug boot option:

 - measure the time the initcall took to execute and report
   it in units of milliseconds.

 - show the return code of initcalls (useful to see failures and
   to make sure that an initcall hung)

[akpm@linux-foundation.org: fix printk warning]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c