]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/bootgraph.pl
hwmon: (lm90) Add support for the LM99 16 degree offset
[linux-2.6-omap-h63xx.git] / scripts / bootgraph.pl
index 479fb4ea8914e3db0146f74b2ce6fccf384d2366..5e7316e5aa395a4c5da260c1d2890336b4c70039 100644 (file)
@@ -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;