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