diff options
-rw-r--r-- | scripts/bootgraph.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bootgraph.pl b/scripts/bootgraph.pl index 479fb4ea891..5e7316e5aa3 100644 --- a/scripts/bootgraph.pl +++ b/scripts/bootgraph.pl @@ -110,6 +110,12 @@ while (($key,$value) = each %start) { if ($duration >= $threshold) { my $s, $s2, $e, $y; + $pid = $pids{$key}; + + if (!defined($rows{$pid})) { + $rows{$pid} = $rowscount; + $rowscount = $rowscount + 1; + } $s = ($value - $firsttime) * $mult; $s2 = $s + 6; $e = ($end{$key} - $firsttime) * $mult; |