flamegraph

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

commit f048d801661debb8d287da431658e479782f92fe
parent 19eac6316bb8c9afb620a4bc92e4cacd99b712e9
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Wed, 27 Mar 2013 01:21:12 -0700

Merge pull request #15 from timbunce/linking2

Fix bug in --nameattr handling
Diffstat:
Mflamegraph.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flamegraph.pl b/flamegraph.pl @@ -319,7 +319,7 @@ foreach my $id (keys %Node) { $info = "$escaped_func ($samples_txt $countname, $pct%)"; } - my $nameattr = $nameattr{$func} || {}; + my $nameattr = { %{ $nameattr{$func}||{} } }; # shallow clone $nameattr->{class} ||= "func_g"; $nameattr->{onmouseover} ||= "s('".$info."')"; $nameattr->{onmouseout} ||= "c()";