]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8f0c45cdf87dc9141e87b0ad2fc6fff216a95f79
tree1940c1f08b9bc6e2429559ba19b71b725ad9524c
parentb73a7e76c1eeaa770a41554698917c3c45686a07
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