Re: [PATCH 0/5] perf tools: Pipe fixes
From: Arnaldo Carvalho de Melo
Date: Thu May 07 2020 - 11:49:23 EST
Em Thu, May 07, 2020 at 11:50:19AM +0200, Jiri Olsa escreveu:
> 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 a lot, all tested, great improvements for pipe mode!
- Arnaldo
> 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(-)
>
--
- Arnaldo