commit fb79d1454646af3598a10750ce9afcad79a2f3cd
parent 817c6ea3b92417349605e5715fe6a7cb8cbc9776
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date: Thu, 4 Dec 2014 17:43:37 -0800
stop bottom frame from being green with --color=js
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flamegraph.pl b/flamegraph.pl
@@ -333,7 +333,7 @@ sub color {
$type = "green"
} elsif ($name =~ m/:/) { # JavaScript (match ":" in builtin)
$type = "aqua"
- } elsif ($name =~ m/^ *$/) { # Missing symbol
+ } elsif ($name =~ m/^ $/) { # Missing symbol
$type = "green"
} else { # system
$type = "red";