Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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: Andrew Murray <amurray@mpc-data.co.uk>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information...
commit c443453c6dc88576db540acc6ef40e1d2869e394 1 parent 28f65c1
authored June 09, 2011 Jiri Kosina committed June 13, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  scripts/bootgraph.pl
2  scripts/bootgraph.pl
@@ -44,7 +44,7 @@
44 44
 my %type;
45 45
 my $done = 0;
46 46
 my $maxtime = 0;
47  
-my $firsttime = 100;
  47
+my $firsttime = 99999;
48 48
 my $count = 0;
49 49
 my %pids;
50 50
 my %pidctr;

0 notes on commit c443453

Please sign in to comment.
Something went wrong with that request. Please try again.