summaryrefslogtreecommitdiffstats
path: root/run-stap.in
diff options
context:
space:
mode:
Diffstat (limited to 'run-stap.in')
-rw-r--r--run-stap.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/run-stap.in b/run-stap.in
index f8ee9287..1bfb6a77 100644
--- a/run-stap.in
+++ b/run-stap.in
@@ -19,9 +19,8 @@ esac
# Set all the variables to find the source and build trees.
SYSTEMTAP_TAPSET="${srcdir}/tapset"
SYSTEMTAP_RUNTIME="${srcdir}/runtime"
-SYSTEMTAP_STAPRUN="builddir='$builddir' ${srcdir}/run-staprun.sh"
-SYSTEMTAP_STAPIO="${srcdir}/run-stapio"
-export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME SYSTEMTAP_STAPRUN SYSTEMTAP_STAPIO
+SYSTEMTAP_STAPRUN="sudo -P builddir='${builddir}' ${builddir}/run-staprun"
+export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME SYSTEMTAP_STAPRUN
# If there were private elfutils libs built, use them.
if [ -d "$rundir/lib-elfutils" ]; then