]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
committerArjan van de Ven <arjan@linux.intel.com>
Sun, 12 Oct 2008 15:07:20 +0000 (08:07 -0700)
commitf9b9796ade7609cd62571d38f064e20c77d31281
treeab108882f8bb940a4a3c2cc483223fb6791bb473
parent7cc4e87f912bbefa440a51856b8d076e5d1f554a
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 some of the initializing
going asynchronous soon, it's valuable to track/print which worker thread
is executing the initialization.

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]