Skip to content

Commit

Permalink
stop bottom frame from being green with --color=js
Browse files Browse the repository at this point in the history
  • Loading branch information
brendangregg committed Dec 5, 2014
1 parent 817c6ea commit fb79d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flamegraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit fb79d14

Please sign in to comment.