]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/fastboot: fix row order in bootgraph.pl
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tue, 14 Oct 2008 13:19:15 +0000 (14:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 14:37:25 +0000 (16:37 +0200)
commit06d1cd267ca0a2a76beb9a762465572dd3d0cce6
tree3ddbeffefd0ec34097fe1d9495afae25ef632611
parent2a813f8cd8ce91d588a595c5709502dece3af289
tracing/fastboot: fix row order in bootgraph.pl

When bootgraph.pl parses a file, it gives one row for each initcall's
pid.  But they are displayed in random (perl hash) order.  Let's
sort the pids by the start time of their first initcall instead.

This helps trace module initcalls, where each has a separate pid.
bootgraph.pl will show module initcalls during the initramfs; it may
also be adapted to show subsequent module initcalls.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Frédéric Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/bootgraph.pl