Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix to allow decimals again #13

Merged
merged 1 commit into from

2 participants

@timbunce

Sorry. Only just noticed this regression.

@brendangregg brendangregg merged commit f67e67e into brendangregg:master
@brendangregg

got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 25, 2013
  1. @timbunce

    fix to allow decimals again

    timbunce authored
This page is out of date. Refresh to see the latest.
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;
Something went wrong with that request. Please try again.