Skip to content

perf tools: Pipe fixes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf tools: Do not display extra info when there is nothing to buildtools/perf/Makefile.perf+5 -31 reply
2/5perf tools: Do not seek in pipe fd during tracing data processingtools/perf/util/header.c tools/perf/util/session.c+21 -60 replies
3/5perf session: Try to read pipe data from filetools/perf/util/header.c+12 -40 replies
4/5perf tools: Setup callchain properly in pipe modetools/perf/builtin-report.c tools/perf/builtin-script.c tools/perf/util/callchain.c +1 more+49 -130 replies
5/5perf script: Enable IP fields for callchainstools/perf/builtin-script.c+7 -20 replies

Reviews trailers per patch

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

PatchIan Rogers
1/5
2/5
3/5Original-patch-by
4/5
5/5

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/5] perf tools: Pipe fixes

hi,
sending changes that allows callchain detection in pipe mode, fixing followign use case:

  # perf record --no-buffering --call-graph dwarf -e sdt_rtld:init_start -a -o - | perf --no-pager script -i -

plus change that allows to read pipe data from file:

  # perf record -o - sleep 1 > /tmp/perf.pipe.data
  # perf report -i /tmp/perf.pipe.data

plus unrelated build fix.

Also reachable in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/pipe

thanks,
jirka

---
Jiri Olsa (5):
perf tools: Do not display extra info when there is nothing to build perf tools: Do not seek in pipe fd during tracing data processing perf session: Try to read pipe data from file
perf tools: Setup callchain properly in pipe mode
perf script: Enable IP fields for callchains

 tools/perf/Makefile.perf    |  8 +++++---
 tools/perf/builtin-report.c | 33 ++++++++++++++++++++++-----------
 tools/perf/builtin-script.c | 23 +++++++++++++++++++----
 tools/perf/util/callchain.c | 14 ++++++++++++++
 tools/perf/util/callchain.h |  1 +
 tools/perf/util/header.c    | 34 ++++++++++++++++++++++++++--------
 tools/perf/util/session.c   |  9 +++++++--
 7 files changed, 94 insertions(+), 28 deletions(-)