Skip to content

perf-trace/scripting: script fixes

Tom Zanussi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9perf/trace/scripting: failed-syscalls script cleanuptools/perf/scripts/perl/bin/failed-syscalls-report tools/perf/scripts/perl/failed-syscalls.pl+6 -20 replies
2/9perf/trace/scripting: rw-by-pid script cleanuptools/perf/scripts/perl/rw-by-pid.pl+37 -230 replies
3/9perf/trace/scripting: rwtop script cleanuptools/perf/scripts/perl/rwtop.pl+35 -130 replies
4/9perf/trace/scripting: wakeup-latency script cleanuptools/perf/scripts/perl/wakeup-latency.pl+8 -40 replies
5/9perf/trace/scripting: workqueue-stats script cleanuptools/perf/scripts/perl/workqueue-stats.pl+6 -60 replies
6/9perf/trace/scripting: don't show script start/stop messages by defaulttools/perf/builtin-trace.c tools/perf/util/scripting-engines/trace-event-perl.c tools/perf/util/scripting-engines/trace-event-python.c+3 -70 replies
7/9perf/trace/scripting: failed-syscalls-by-pid script cleanuptools/perf/scripts/python/bin/failed-syscalls-by-pid-report+1 -10 replies
8/9perf/trace/scripting: syscall-counts-by-pid script cleanuptools/perf/scripts/python/bin/syscall-counts-by-pid-report+1 -10 replies
9/9perf/trace/scripting: syscall-counts script cleanuptools/perf/scripts/python/bin/syscall-counts-report+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] perf-trace/scripting: script fixes

While testing the new 'trace events reordering' patches, I noticed some problems with the current set of scripts, mostly annoying warning messages, but a couple of real problems too.

Another annoyance, which I moved to verbose mode, was the display of the script name on each invocation.

Anyway, after testing all the scripts in both normal and live mode, I haven't seen any problems with the new event reordering patches...

Tom Zanussi (9):
perf/trace/scripting: failed-syscalls script cleanup perf/trace/scripting: rw-by-pid script cleanup perf/trace/scripting: rwtop script cleanup perf/trace/scripting: wakeup-latency script cleanup perf/trace/scripting: workqueue-stats script cleanup perf/trace/scripting: don't show script start/stop messages by
default
perf/trace/scripting: failed-syscalls-by-pid script cleanup perf/trace/scripting: syscall-counts-by-pid script cleanup perf/trace/scripting: syscall-counts script cleanup

 tools/perf/builtin-trace.c                         |    3 +
 tools/perf/scripts/perl/bin/failed-syscalls-report |    2 +-
 tools/perf/scripts/perl/failed-syscalls.pl         |    6 ++-
 tools/perf/scripts/perl/rw-by-pid.pl               |   60 ++++++++++++--------
 tools/perf/scripts/perl/rwtop.pl                   |   48 +++++++++++----
 tools/perf/scripts/perl/wakeup-latency.pl          |   12 +++-
 tools/perf/scripts/perl/workqueue-stats.pl         |   12 ++--
 .../python/bin/failed-syscalls-by-pid-report       |    2 +-
 .../python/bin/syscall-counts-by-pid-report        |    2 +-
 .../perf/scripts/python/bin/syscall-counts-report  |    2 +-
 .../perf/util/scripting-engines/trace-event-perl.c |    3 -
 .../util/scripting-engines/trace-event-python.c    |    4 -
 12 files changed, 98 insertions(+), 58 deletions(-)