From f8192d037def4be76c22916943cea99c24c49037 Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Sat, 4 Oct 2008 21:35:48 +0200 Subject: [PATCH] --- yaml --- r: 116690 b: refs/heads/master c: 07d1890420cce95c577736e4d67f70cbd39845fe h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/bootgraph.pl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 450cb661c569..9c6d1066d23c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c542368a3ded88bed98239fb3570dda416203ee +refs/heads/master: 07d1890420cce95c577736e4d67f70cbd39845fe diff --git a/trunk/scripts/bootgraph.pl b/trunk/scripts/bootgraph.pl index 479fb4ea8914..5e7316e5aa39 100644 --- a/trunk/scripts/bootgraph.pl +++ b/trunk/scripts/bootgraph.pl @@ -110,6 +110,12 @@ 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;