Browse files

fix to allow decimals again

  • Loading branch information...
1 parent ad3d40b commit 61676dc81c2c73e1cd6d3829d5c40a77ffdb7e81 @timbunce 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 61676dc

Please sign in to comment.