summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/netdev-times-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/python/bin/netdev-times-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/python/bin/netdev-times-report')
-rw-r--r--tools/perf/scripts/python/bin/netdev-times-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/netdev-times-report b/tools/perf/scripts/python/bin/netdev-times-report
index c3d0a638123..4ad361b3124 100644
--- a/tools/perf/scripts/python/bin/netdev-times-report
+++ b/tools/perf/scripts/python/bin/netdev-times-report
@@ -2,4 +2,4 @@
# description: display a process of packet and processing time
# args: [tx] [rx] [dev=] [debug]
-perf trace -s ~/libexec/perf-core/scripts/python/netdev-times.py $@
+perf trace -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@