mirror of
https://github.com/torvalds/linux.git
synced 2025-08-19 08:46:11 +02:00
perf script: Finish the rename from trace to script
The scripts have calls to 'perf trace' that need to be converted to 'perf script', do it. This problem was introduced in 133dc4c. Reported-by: Torok Edwin <edwintorok@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Torok Edwin <edwintorok@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
104db7ff1d
commit
765532c8aa
31 changed files with 35 additions and 51 deletions
|
@ -1,4 +1,4 @@
|
|||
# Core.py - Python extension for perf trace, core functions
|
||||
# Core.py - Python extension for perf script, core functions
|
||||
#
|
||||
# Copyright (C) 2010 by Tom Zanussi <tzanussi@gmail.com>
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# SchedGui.py - Python extension for perf trace, basic GUI code for
|
||||
# SchedGui.py - Python extension for perf script, basic GUI code for
|
||||
# traces drawing and overview.
|
||||
#
|
||||
# Copyright (C) 2010 by Frederic Weisbecker <fweisbec@gmail.com>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Util.py - Python extension for perf trace, miscellaneous utility code
|
||||
# Util.py - Python extension for perf script, miscellaneous utility code
|
||||
#
|
||||
# Copyright (C) 2010 by Tom Zanussi <tzanussi@gmail.com>
|
||||
#
|
||||
|
|
|
@ -7,4 +7,4 @@ if [ $# -gt 0 ] ; then
|
|||
shift
|
||||
fi
|
||||
fi
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
|
||||
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
# description: futext contention measurement
|
||||
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py
|
||||
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# description: display a process of packet and processing time
|
||||
# args: [tx] [rx] [dev=] [debug]
|
||||
|
||||
perf trace -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@
|
||||
perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
# description: sched migration overview
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
|
||||
perf script $@ -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 "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval
|
||||
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval
|
||||
|
|
|
@ -7,4 +7,4 @@ if [ $# -gt 0 ] ; then
|
|||
shift
|
||||
fi
|
||||
fi
|
||||
perf trace $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
|
||||
perf script $@ -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 "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
|
||||
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# perf trace event handlers, generated by perf trace -g python
|
||||
# perf script event handlers, generated by perf script -g python
|
||||
# (c) 2010, Tom Zanussi <tzanussi@gmail.com>
|
||||
# Licensed under the terms of the GNU GPL License version 2
|
||||
#
|
||||
|
|
|
@ -15,7 +15,7 @@ from perf_trace_context import *
|
|||
from Core import *
|
||||
from Util import *
|
||||
|
||||
usage = "perf trace -s syscall-counts-by-pid.py [comm|pid]\n";
|
||||
usage = "perf script -s syscall-counts-by-pid.py [comm|pid]\n";
|
||||
|
||||
for_comm = None
|
||||
for_pid = None
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# Copyright (C) 2010 Frederic Weisbecker <fweisbec@gmail.com>
|
||||
#
|
||||
# perf trace event handlers have been generated by perf trace -g python
|
||||
# perf script event handlers have been generated by perf script -g python
|
||||
#
|
||||
# This software is distributed under the terms of the GNU General
|
||||
# Public License ("GPL") version 2 as published by the Free Software
|
||||
|
|
|
@ -17,7 +17,7 @@ from perf_trace_context import *
|
|||
from Core import *
|
||||
from Util import *
|
||||
|
||||
usage = "perf trace -s sctop.py [comm] [interval]\n";
|
||||
usage = "perf script -s sctop.py [comm] [interval]\n";
|
||||
|
||||
for_comm = None
|
||||
default_interval = 3
|
||||
|
|
|
@ -14,7 +14,7 @@ from perf_trace_context import *
|
|||
from Core import *
|
||||
from Util import syscall_name
|
||||
|
||||
usage = "perf trace -s syscall-counts-by-pid.py [comm]\n";
|
||||
usage = "perf script -s syscall-counts-by-pid.py [comm]\n";
|
||||
|
||||
for_comm = None
|
||||
for_pid = None
|
||||
|
|
|
@ -15,7 +15,7 @@ from perf_trace_context import *
|
|||
from Core import *
|
||||
from Util import syscall_name
|
||||
|
||||
usage = "perf trace -s syscall-counts.py [comm]\n";
|
||||
usage = "perf script -s syscall-counts.py [comm]\n";
|
||||
|
||||
for_comm = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue