Skip to content
Browse files

Merge pull request #13 from timbunce/float

fix to allow decimals again
  • Loading branch information...
2 parents f689c1d + 61676dc commit f67e67e8406e354c4888a35db5ef61a0c87143da @brendangregg committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 flamegraph.pl
View
2 flamegraph.pl
@@ -232,7 +232,7 @@ sub flow {
my $ignored = 0;
foreach (sort @Data) {
chomp;
- my ($stack, $samples) = (/^(.*)\s+(\d+(?:\.\d*))$/);
+ my ($stack, $samples) = (/^(.*)\s+(\d+(?:\.\d*)?)$/);
unless (defined $samples) {
++$ignored;
next;

0 comments on commit f67e67e

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