perf trace: Use $PERF_EXEC_PATH in canned report scripts
[cascardo/linux.git] / tools / perf / scripts / python / bin / sctop-report
index b01c842..36b409c 100644 (file)
@@ -21,4 +21,4 @@ elif [ "$n_args" -gt 0 ] ; then
     interval=$1
     shift
 fi
-perf trace $@ -s ~/libexec/perf-core/scripts/python/sctop.py $comm $interval
+perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval