All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf-record: auto detect when stdout is a pipe
Date: Mon, 17 Jan 2011 15:27:47 -0200	[thread overview]
Message-ID: <20110117172747.GD2085@ghostprotocols.net> (raw)
In-Reply-To: <m3ipxo966i.fsf@gmail.com>

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...

Thanks, applied,

- Arnaldo

  reply	other threads:[~2011-01-17 17:28 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 [this message]
2011-01-17 18:16   ` Franck Bui-Huu
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=20110117172747.GD2085@ghostprotocols.net \
    --to=acme@ghostprotocols.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vagabon.xyz@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.