[PATCH 0/7] perf trace command-line cleanup, v2

From: tzanussi
Date: Wed Nov 10 2010 - 13:10:41 EST


From: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>

There are currently some inconsistencies in perf trace command-line
handling - for example, the system-wide param is hard-coded into the
canned scripts, and the user doesn't have any option to avoid it.
This patchset removes that limitation and cleans up some related
complications introduced by live-mode. It also more clearly documents
usage, and fixes up a couple other minor problems.

This patchset can also be pulled from here:

git://github.com/zanussi/linux-2.6.git perf-trace-updates-urgent

v2 changes:

- rebased to perf/urgent
- added Arnaldo's Acked-by to patches

Tom Zanussi (7):
perf trace scripting: fix some small memory leaks and missing error
checks
perf trace scripting: remove system-wide param from shell scripts
perf record: make the record options available outside perf record
perf trace record: handle commands correctly
perf trace: live-mode command-line cleanup
perf trace: update Documentation with new perf trace variants
perf trace: update usage

tools/perf/Documentation/perf-trace.txt | 57 +++++-
tools/perf/builtin-record.c | 10 +-
tools/perf/builtin-trace.c | 209 ++++++++++++++------
tools/perf/scripts/perl/bin/failed-syscalls-record | 2 +-
tools/perf/scripts/perl/bin/rw-by-file-record | 2 +-
tools/perf/scripts/perl/bin/rw-by-pid-record | 2 +-
tools/perf/scripts/perl/bin/rwtop-record | 2 +-
tools/perf/scripts/perl/bin/wakeup-latency-record | 2 +-
tools/perf/scripts/perl/bin/workqueue-stats-record | 2 +-
.../python/bin/failed-syscalls-by-pid-record | 2 +-
.../scripts/python/bin/futex-contention-record | 2 +-
tools/perf/scripts/python/bin/netdev-times-record | 2 +-
.../perf/scripts/python/bin/sched-migration-record | 2 +-
tools/perf/scripts/python/bin/sctop-record | 2 +-
.../python/bin/syscall-counts-by-pid-record | 2 +-
.../perf/scripts/python/bin/syscall-counts-record | 2 +-
16 files changed, 217 insertions(+), 85 deletions(-)

--
Tom Zanussi, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/