Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow floating point values

  • Loading branch information...
commit bfa4ae303ed3064875639bb26de5c822a66733ae 1 parent 912c724
@timbunce timbunce authored
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+)$/);
+ my ($stack, $samples) = (/^(.*)\s+(\d+(?:\.\d*))$/);
unless (defined $samples) {
++$ignored;
next;
Please sign in to comment.
Something went wrong with that request. Please try again.