summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/sctop-report
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-10-10 19:10:03 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-10-23 21:31:20 +0400
commit44e668c6faa9a6c477a32788e7e88f0754c54a4e (patch)
tree59f100bc808cdd232d0896b348144e6482a4ca76 /tools/perf/scripts/python/bin/sctop-report
parentffec516976f64b4e3e59ba1bb8a5020008cc678a (diff)
downloadlinux-44e668c6faa9a6c477a32788e7e88f0754c54a4e.tar.xz
perf trace: Use $PERF_EXEC_PATH in canned report scripts
Set $PERF_EXEC_PATH before starting the record and report scripts, and make them use it where necessary. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1286723403.2955.205.camel@localhost> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/sctop-report')
-rw-r--r--tools/perf/scripts/python/bin/sctop-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/sctop-report b/tools/perf/scripts/python/bin/sctop-report
index b01c842ae7b4..36b409c05e50 100644
--- a/tools/perf/scripts/python/bin/sctop-report
+++ b/tools/perf/scripts/python/bin/sctop-report
@@ -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