[PATCH 0/5] perf tools: Pipe fixes
From: Jiri Olsa
Date: Thu May 07 2020 - 05:50:36 EST
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(-)