From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf-record: auto detect when stdout is a pipe
Date: Mon, 17 Jan 2011 19:16:12 +0100 [thread overview]
Message-ID: <4D34876C.7020702@gmail.com> (raw)
In-Reply-To: <20110117172747.GD2085@ghostprotocols.net>
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@gmail.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
next prev parent reply other threads:[~2011-01-17 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-16 16:14 [PATCH] perf-record: auto detect when stdout is a pipe Franck Bui-Huu
2011-01-17 17:27 ` Arnaldo Carvalho de Melo
2011-01-17 18:16 ` Franck Bui-Huu [this message]
2011-01-26 7:23 ` [tip:perf/core] perf record: " tip-bot for Franck Bui-Huu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D34876C.7020702@gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=acme@ghostprotocols.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox