commit f67e67e8406e354c4888a35db5ef61a0c87143da
parent f689c1d660afab28cdc6da56c6405b3897ca3b57
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date: Mon, 25 Mar 2013 12:13:32 -0700
Merge pull request #13 from timbunce/float
fix to allow decimals again
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flamegraph.pl b/flamegraph.pl
@@ -232,7 +232,7 @@ my $time = 0;
my $ignored = 0;
foreach (sort @Data) {
chomp;
- my ($stack, $samples) = (/^(.*)\s+(\d+(?:\.\d*))$/);
+ my ($stack, $samples) = (/^(.*)\s+(\d+(?:\.\d*)?)$/);
unless (defined $samples) {
++$ignored;
next;