Skip to content

perf trace command-line cleanup, v2

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

v2 changes from the cover letter

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

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf trace scripting: fix some small memory leaks and missing error checkstools/perf/builtin-trace.c+12 -10 replies
2/7perf trace scripting: remove system-wide param from shell scriptstools/perf/scripts/perl/bin/failed-syscalls-record tools/perf/scripts/perl/bin/rw-by-file-record tools/perf/scripts/perl/bin/rw-by-pid-record +10 more+13 -130 replies
3/7perf record: make the record options available outside perf recordtools/perf/builtin-record.c+5 -60 replies
4/7perf trace record: handle commands correctlytools/perf/builtin-trace.c+28 -50 replies
5/7perf trace: live-mode command-line cleanuptools/perf/builtin-trace.c+108 -580 replies
6/7perf trace: update Documentation with new perf trace variantstools/perf/Documentation/perf-trace.txt+49 -90 replies
7/7perf trace: update usagetools/perf/builtin-trace.c+5 -20 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchArnaldo Carvalho de Melo
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Tom Zanussi <[email protected]>

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(-)
Signature · 1 line
Tom Zanussi, Intel Open Source Technology Center