• Arjan van de Ven's avatar
    tracing/fastboot: add a script to visualize the kernel boot process / time · aa5d9151
    Arjan van de Ven authored
    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: default avatarArjan van de Ven <arjan@linux.intel.com>
    aa5d9151
main.c 21 KB