Commit ddcd118c authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4439 fix pmprof so that we can use it for any process closes[t:4439]

git-svn-id: file:///svn/toku/tokudb@39208 c7de825b-a66e-492c-adef-691d508d4ae1
parent 26fa2ecd
#!/bin/bash
nsamples=30
nsamples=1
sleeptime=1
while [ $# -gt 0 ] ; do
arg=$1;
if [[ $arg =~ --(.*)=(.*) ]] ; then
eval ${BASH_REMATCH[1]}=${BASH_REMATCH[2]}
else
break
fi
shift
done
# change the process name
pid=$(pidof loader-stress-test.tdb)
pid=$*
# may need the cilk gdb
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment