mirror of https://gitee.com/bigwinds/arangodb
fix perfsetupscript
This commit is contained in:
parent
9157debf96
commit
fe335baa61
|
@ -36,10 +36,10 @@
|
|||
#
|
||||
|
||||
main(){
|
||||
local ARANGOD_EXECUTABLE=build/bin/arangod
|
||||
local ARANGOD_EXECUTABLE=${1-build/bin/arangod}
|
||||
|
||||
#delete all existing events
|
||||
perf probe -x $ARANGOD_EXECUTABLE -d "probe_arangod:*" || exit 1
|
||||
perf probe -x $ARANGOD_EXECUTABLE -d "probe_arangod:*"
|
||||
|
||||
echo "Adding events, this takes a few seconds..."
|
||||
|
||||
|
|
Loading…
Reference in New Issue