Loading poor-mans-profiler/pmprof +12 −2 Original line number Diff line number Diff line #!/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 Loading Loading
poor-mans-profiler/pmprof +12 −2 Original line number Diff line number Diff line #!/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 Loading