Skip to content

perf tools: some 'perf script' fixes

Tom Zanussi lkml 1 version Applied

Status from this message: Thanks, applied to my perf/core branch at:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf/tools: reinstate 'signed' field flag for tracepointstools/lib/traceevent/event-parse.c+2 -11 reply
2/4perf script: don't display trace info when invoking scriptstools/perf/builtin-script.c+2 -11 reply
3/4perf tools: hook up perf_scripting_context->peventtools/perf/util/scripting-engines/trace-event-perl.c tools/perf/util/scripting-engines/trace-event-python.c+2 -01 reply
4/4perf script: remove workqueue-stats scripttools/perf/Documentation/perf-script-python.txt tools/perf/scripts/perl/bin/workqueue-stats-record tools/perf/scripts/perl/bin/workqueue-stats-report +1 more+0 -1361 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchTom Zanussi
SeriesT-b
1/4
2/4
3/4
4/4

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/4] perf tools: some 'perf script' fixes

Hi,

This patchset fixes various problems I hit while doing a run-through of the existing 'perf script' scripts.

Also, sometimes when running rwtop I get a 'failed to read event header' error, which this patch fixes:

https://lkml.org/lkml/2012/9/14/401

Not sure if that was meant to get picked up, but it fixed that particular problem here for me.

Thanks,

Tom

Tom Zanussi (4):
perf/tools: reinstate 'signed' field flag for tracepoints perf script: don't display trace info when invoking scripts perf tools: hook up perf_scripting_context->pevent perf script: remove workqueue-stats script

 tools/lib/traceevent/event-parse.c                 |   3 +-
 tools/perf/Documentation/perf-script-python.txt    |   2 -
 tools/perf/builtin-script.c                        |   3 +-
 tools/perf/scripts/perl/bin/workqueue-stats-record |   2 -
 tools/perf/scripts/perl/bin/workqueue-stats-report |   3 -
 tools/perf/scripts/perl/workqueue-stats.pl         | 129 ---------------------
 .../perf/util/scripting-engines/trace-event-perl.c |   1 +
 .../util/scripting-engines/trace-event-python.c    |   1 +
 8 files changed, 6 insertions(+), 138 deletions(-)
 delete mode 100644 tools/perf/scripts/perl/bin/workqueue-stats-record
 delete mode 100644 tools/perf/scripts/perl/bin/workqueue-stats-report
 delete mode 100644 tools/perf/scripts/perl/workqueue-stats.pl
Signature · 1 line
1.7.11.4