Home
last modified time | relevance | path

Searched hist:d7065adb9b4f3384c2615f0a3dbdb6c3aae1eb18 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/
H A Dbuiltin-record.cdiff d7065adb9b4f3384c2615f0a3dbdb6c3aae1eb18 Sun Jan 16 10:14:45 CST 2011 Franck Bui-Huu <fbuihuu@gmail.com> perf record: auto detect when stdout is a pipe

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.

LKML-Reference: <m3ipxo966i.fsf@gmail.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>