flamegraph

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

commit a07a58d88d61c65b17e9b4804b4418e8d7a0e088
parent a8d807a11c0f22871134324bda709618ca482b58
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Sat, 16 Jun 2018 11:54:45 -0700

Merge pull request #172 from bjorn3/patch-1

Check for _[k] before :: in the java colors oalette
Diffstat:
Mflamegraph.pl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flamegraph.pl b/flamegraph.pl @@ -379,10 +379,10 @@ sub color { $type = "aqua"; } elsif ($name =~ m:^L?(java|org|com|io|sun)/:) { # Java $type = "green"; - } elsif ($name =~ /::/) { # C++ - $type = "yellow"; } elsif ($name =~ m:_\[k\]$:) { # kernel annotation $type = "orange"; + } elsif ($name =~ /::/) { # C++ + $type = "yellow"; } else { # system $type = "red"; }