Re: [PATCH] perf tools: Detect when pipe is passed as perf data

2020-12-29 Thread Jiri Olsa
On Tue, Dec 29, 2020 at 02:53:36PM +0900, Namhyung Kim wrote: > On Sat, Dec 26, 2020 at 7:21 AM Jiri Olsa wrote: > > > > Currently we allow pipe input/output only through '-' string > > being passed to '-o' or '-i' options, like: > > > > # mkfifo perf.pipe > > # perf record --no-buffering -e '

Re: [PATCH] perf tools: Detect when pipe is passed as perf data

2020-12-28 Thread Namhyung Kim
On Sat, Dec 26, 2020 at 7:21 AM Jiri Olsa wrote: > > Currently we allow pipe input/output only through '-' string > being passed to '-o' or '-i' options, like: > > # mkfifo perf.pipe > # perf record --no-buffering -e 'sched:sched_switch' -o - > perf.pipe & > [1] 354406 > # cat perf.pipe |