diff options
| author | Franck Bui-Huu <[email protected]> | 2011-01-16 16:14:45 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-24 12:58:27 +0000 |
| commit | d7065adb9b4f3384c2615f0a3dbdb6c3aae1eb18 (patch) | |
| tree | 2547ed90722723a9039bbbc3d4f1519d4908db79 /tools/perf/builtin-annotate.c | |
| parent | perf probe: Add --funcs to show available functions in symtab (diff) | |
| download | kernel-d7065adb9b4f3384c2615f0a3dbdb6c3aae1eb18.tar.gz kernel-d7065adb9b4f3384c2615f0a3dbdb6c3aae1eb18.zip | |
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: <[email protected]>
Signed-off-by: Franck Bui-Huu <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
