Skip to content

Commit

Permalink
Update generate_flamegraph.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingCat authored Sep 13, 2018
1 parent 864331c commit 0e0cea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_flamegraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -x
local_directory="$1"

# generate stack
java -cp target/kittenwhisker-0.1-SNAPSHOT-jar-with-dependencies.jar me.codingcat.happysparking.StackTraceGenerator $local_directory
java -cp target/kittenwhisker-0.1-jar-with-dependencies.jar me.codingcat.happysparking.StackTraceGenerator $local_directory

if [[ -z $FLAMEGRAPH_DIR ]]; then
echo "you have to define FLAMEGRAPH_DIR";
Expand All @@ -19,4 +19,4 @@ do
echo $file
$FLAMEGRAPH_DIR/stackcollapse-perf.pl $PERF_COLLAPSE_OPTS $file | tee $file.collapsed | $FLAMEGRAPH_DIR/flamegraph.pl --color=java > $file.svg
fi
done
done

0 comments on commit 0e0cea9

Please sign in to comment.