]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/fastboot: add a script to visualize the kernel boot process / time
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 13 Sep 2008 16:36:06 +0000 (09:36 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:46 +0000 (10:38 +0200)
commitadd066ea2c25d78e61dea4bff54d12af272f69fc
tree3b0660685ba60cf2401e70eba4572ed2691c817d
parentf3bf37f185470778b8e0bfcdaffc92d5f152fb18
tracing/fastboot: add a script to visualize the kernel boot process / time

When optimizing the kernel boot time, it's very valuable to visualize
what is going on at which time. In addition, with the fastboot asynchronous
initcall level, it's very valuable to see which initcall gets run where
and when.

This patch adds a script to turn a dmesg into a SVG graph (that can be
shown with tools such as InkScape, Gimp or Firefox) and a small change
to the initcall code to print the PID of the thread calling the initcall
(so that the script can work out the parallelism).

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
init/main.c
scripts/bootgraph.pl [new file with mode: 0644]