flamegraph

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

commit 4bf9ce0b82e126d37d1b6d2591b865224a9df8e4
parent 931d170d2698f174abdd515397471f01dac946c0
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Wed, 16 Mar 2016 10:40:37 -0700

fix Java palette

Diffstat:
Mflamegraph.pl | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/flamegraph.pl b/flamegraph.pl @@ -341,10 +341,10 @@ sub color { # multi palettes if (defined $type and $type eq "java") { - if ($name =~ /::/) { # C++ - $type = "yellow"; - } elsif ($name =~ m:/:) { # Java (match "/" in path) + if ($name =~ m:/:) { # Java (match "/" in path) $type = "green" + } elsif ($name =~ /::/) { # C++ + $type = "yellow"; } elsif ($name =~ m:_\[k\]:) { # kernel $type = "orange" } else { # system