From ffda4e03c6569a678b9fb172cc101f9ca52bd84c Mon Sep 17 00:00:00 2001 From: Duru Can Celasun Date: Fri, 18 Mar 2016 08:55:37 +0200 Subject: [PATCH] Add "flamegraph" to list of flame graph scripts This would allow `/usr/bin/flamegraph` etc. to work. --- renderer/flamegraph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/flamegraph.go b/renderer/flamegraph.go index 982c039..9a16d2e 100644 --- a/renderer/flamegraph.go +++ b/renderer/flamegraph.go @@ -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.