Re: [PATCH] perf inject: Fix repipe usage

2021-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 01, 2021 at 04:05:13PM +0200, Jiri Olsa escreveu: > On Thu, Apr 01, 2021 at 01:36:05PM +0300, Adrian Hunter wrote: > > Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") > > perf inject has started printing "PERFILE2h" when not processing pipes. > > > > The

Re: [PATCH] perf inject: Fix repipe usage

2021-04-01 Thread Jiri Olsa
On Thu, Apr 01, 2021 at 01:36:05PM +0300, Adrian Hunter wrote: > Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") > perf inject has started printing "PERFILE2h" when not processing pipes. > > The commit exposed perf to the possiblity that the input is not a pipe but >

[PATCH] perf inject: Fix repipe usage

2021-04-01 Thread Adrian Hunter
Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") perf inject has started printing "PERFILE2h" when not processing pipes. The commit exposed perf to the possiblity that the input is not a pipe but the 'repipe' parameter gets used. That causes the printing because perf