mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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>
This commit is contained in:
parent
ffec516976
commit
44e668c6fa
13 changed files with 15 additions and 15 deletions
|
@ -7,4 +7,4 @@ if [ $# -gt 0 ] ; then
|
|||
shift
|
||||
fi
|
||||
fi
|
||||
perf trace $@ -s ~/libexec/perf-core/scripts/python/failed-syscalls-by-pid.py $comm
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
|
||||
|
|
|
@ -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 $@
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
# description: sched migration overview
|
||||
perf trace $@ -s ~/libexec/perf-core/scripts/python/sched-migration.py
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,4 +7,4 @@ if [ $# -gt 0 ] ; then
|
|||
shift
|
||||
fi
|
||||
fi
|
||||
perf trace $@ -s ~/libexec/perf-core/scripts/python/syscall-counts-by-pid.py $comm
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
|
||||
|
|
|
@ -7,4 +7,4 @@ if [ $# -gt 0 ] ; then
|
|||
shift
|
||||
fi
|
||||
fi
|
||||
perf trace $@ -s ~/libexec/perf-core/scripts/python/syscall-counts.py $comm
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue