Skip to content

Commit

Permalink
Merge pull request #13 from timbunce/float
Browse files Browse the repository at this point in the history
fix to allow decimals again
  • Loading branch information
brendangregg committed Mar 25, 2013
2 parents f689c1d + 61676dc commit f67e67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flamegraph.pl
Expand Up @@ -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;
Expand Down

0 comments on commit f67e67e

Please sign in to comment.