aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/perl/bin/rwtop-report
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-10-10 16:10:03 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-10-23 15:31:20 -0200
commit44e668c6faa9a6c477a32788e7e88f0754c54a4e (patch)
tree59f100bc808cdd232d0896b348144e6482a4ca76 /tools/perf/scripts/perl/bin/rwtop-report
parentffec516976f64b4e3e59ba1bb8a5020008cc678a (diff)
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/perl/bin/rwtop-report')
-rw-r--r--tools/perf/scripts/perl/bin/rwtop-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/perl/bin/rwtop-report b/tools/perf/scripts/perl/bin/rwtop-report
index 93e698cd3f3..4918dba7702 100644
--- a/tools/perf/scripts/perl/bin/rwtop-report
+++ b/tools/perf/scripts/perl/bin/rwtop-report
@@ -17,7 +17,7 @@ if [ "$n_args" -gt 0 ] ; then
interval=$1
shift
fi
-perf trace $@ -s ~/libexec/perf-core/scripts/perl/rwtop.pl $interval
+perf trace $@ -s "$PERF_EXEC_PATH"/scripts/perl/rwtop.pl $interval