[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D34876C.7020702@gmail.com>
Date: Mon, 17 Jan 2011 19:16:12 +0100
From: Franck Bui-Huu <vagabon.xyz@...il.com>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf-record: auto detect when stdout is a pipe
On 01/17/2011 06:27 PM, Arnaldo Carvalho de Melo wrote:
> Em Sun, Jan 16, 2011 at 05:14:45PM +0100, Franck Bui-Huu escreveu:
>> From: Franck Bui-Huu <fbuihuu@...il.com>
>>
>> This patch gives the ability to perf-record to detect when its stdout
>> has been redirected to a pipe. There's now no more need to add '-o -'
>> switch in this case.
>>
>> However '-o <path>' option has always precedence, that is if specified
>> and stdout has been connected via a pipe then the output will go into
>> the specified output.
>>
>
> I guess we could have that in perf report as well? I.e. if stdin is a
> FIFO...
>
Yes, I noticed that too, perf-script is also a candidate.
I'll do.
Franck
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists