flamegraph

Fork of flamegraph without J***S*****.
git clone git://git.laack.co/flamegraph.git
Log | Files | Refs | README

commit 16438e681512334ea3d0893b1147056f9cd11e10
parent 517275bd2e3c3c3096dc61b20d08542e553da252
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Tue,  8 Dec 2015 01:59:28 -0800

Merge pull request #79 from carols10cents/instruments-decimals

Support floating point numbers in instruments CSV
Diffstat:
Mstackcollapse-instruments.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stackcollapse-instruments.pl b/stackcollapse-instruments.pl @@ -14,7 +14,7 @@ my @stack = (); <>; foreach (<>) { chomp; - /\d+\.\d+ms[^,]+,(\d+),\s+,(\s*)(.+)/ or die; + /\d+\.\d+ms[^,]+,(\d+(?:\.\d*)?),\s+,(\s*)(.+)/ or die; my $func = $3; my $depth = length ($2); $stack [$depth] = $3;