diff --git a/take_cpu_profile b/take_cpu_profile new file mode 100755 index 0000000..baea160 --- /dev/null +++ b/take_cpu_profile @@ -0,0 +1,9 @@ +#!/bin/bash + +NODE_KILL=`which node-kill` + +if [ -f "$HOME/.nodepath" ]; then + NODE_KILL=`cat $HOME/.nodepath`/node-kill; +fi + +$NODE_KILL --start_profiling $1