Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c443453c authored by Andrew Murray's avatar Andrew Murray Committed by Jiri Kosina
Browse files

bootgraph.pl: relax timing information requirements



This patch removes the assumption of the bootgraph.pl script that the
timing information reported by PRINTK_TIME will contain at least one
entry with a time of less than 100 seconds.

Not all boards correctly reset the system timer and in many cases the
inital times reported by PRINTK_TIME is high. When this occurs the
bootchart.pl script fails to give any useful output.

This patch sets the $firsttime variable to the largest value expected
by PRINTK_TIME

Signed-off-by: default avatarAndrew Murray <amurray@mpc-data.co.uk>
Acked-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 28f65c11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ my %end;
my %type;
my $done = 0;
my $maxtime = 0;
my $firsttime = 100;
my $firsttime = 99999;
my $count = 0;
my %pids;
my %pidctr;