Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Add "flamegraph" to list of flame graph scripts
Browse files Browse the repository at this point in the history
This would allow `/usr/bin/flamegraph` etc. to work.
  • Loading branch information
dcelasun committed Mar 18, 2016
1 parent 7fb644a commit ffda4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/flamegraph.go
Expand Up @@ -34,7 +34,7 @@ var errNoPerlScript = errors.New("Cannot find flamegraph scripts in the PATH or

var (
stackCollapseScripts = []string{"stackcollapse.pl", "./stackcollapse.pl", "./FlameGraph/stackcollapse.pl"}
flameGraphScripts = []string{"flamegraph.pl", "./flamegraph.pl", "./FlameGraph/flamegraph.pl", "flame-graph-gen"}
flameGraphScripts = []string{"flamegraph", "flamegraph.pl", "./flamegraph.pl", "./FlameGraph/flamegraph.pl", "flame-graph-gen"}
)

// findInPath returns the first path that is found in PATH.
Expand Down

0 comments on commit ffda4e0

Please sign in to comment.