commit 921d598bf5811c36f1f17b31d15b07e19cd40d6f
parent cb52be935989820f06e092f5bb415f1dc5da4a51
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date: Sat, 27 Jun 2015 17:02:58 -0700
Merge pull request #54 from mdiluz/master
For Instruments output capture the "Self" value rather than the "Running Time" value
Diffstat:
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+),\s+,(\s*)(.+)/ or die;
my $func = $3;
my $depth = length ($2);
$stack [$depth] = $3;