flamegraph

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

commit bf11320bbafbf41ca0328552f44cc4bd4ae44075
parent 02f18a1f7c480fe86ef44c695df88eea98329616
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Thu,  4 Dec 2014 10:30:34 -0800

handle truncated Java symbols

Diffstat:
Mstackcollapse-perf.pl | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stackcollapse-perf.pl b/stackcollapse-perf.pl @@ -87,13 +87,14 @@ foreach (<>) { if ($tidy_java) { # eg, convert the following: # Lorg/mozilla/javascript/ContextFactory;.call(Lorg/mozilla/javascript/ContextAction;)Ljava/lang/Object; + # Lorg/mozilla/javascript/ContextFactory;.call(Lorg/mozilla/javascript/C # Lorg/mozilla/javascript/MemberBox;.<init>(Ljava/lang/reflect/Method;)V # into: # org/mozilla/javascript/ContextFactory:.call # org/mozilla/javascript/MemberBox:.init $func =~ s/;/:/g; $func =~ tr/<>//d; - $func =~ s/\(.*\).*//; + $func =~ s/\(.*//; $func =~ s/^L// if $func =~ m:/:; } unshift @stack, $func;