Re: [PATCH] perf session: Try to read pipe data from file

2020-05-04 Thread Ian Rogers
On Mon, May 4, 2020 at 3:57 PM Jiri Olsa wrote: > > On Fri, May 01, 2020 at 01:34:47PM +0200, Jiri Olsa wrote: > > From: Jiri Olsa > > > > Ian came with the idea of having support to read the pipe > > data also from file [1]. Currently pipe mode files fails > > like: > > > > $ perf record -o -

Re: [PATCH] perf session: Try to read pipe data from file

2020-05-04 Thread Jiri Olsa
On Fri, May 01, 2020 at 01:34:47PM +0200, Jiri Olsa wrote: > From: Jiri Olsa > > Ian came with the idea of having support to read the pipe > data also from file [1]. Currently pipe mode files fails > like: > > $ perf record -o - sleep 1 > /tmp/perf.pipe.data > $ perf report -i

Re: [PATCH] perf session: Try to read pipe data from file

2020-05-01 Thread Ian Rogers
On Fri, May 1, 2020 at 4:35 AM Jiri Olsa wrote: > > From: Jiri Olsa > > Ian came with the idea of having support to read the pipe > data also from file [1]. Currently pipe mode files fails > like: > > $ perf record -o - sleep 1 > /tmp/perf.pipe.data > $ perf report -i /tmp/perf.pipe.data >

[PATCH] perf session: Try to read pipe data from file

2020-05-01 Thread Jiri Olsa
From: Jiri Olsa Ian came with the idea of having support to read the pipe data also from file [1]. Currently pipe mode files fails like: $ perf record -o - sleep 1 > /tmp/perf.pipe.data $ perf report -i /tmp/perf.pipe.data incompatible file format (rerun with -v to learn more) This patch