aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTom Zanussi <[email protected]>2010-04-01 23:59:16 -0500
committerIngo Molnar <[email protected]>2010-04-14 11:56:06 +0200
commit529870e37473a9fc609078f03cc5b4148cf06a87 (patch)
treed0ab94e0895dbf1e27292c1c654e316c808d8f07 /tools/perf/scripts/python/check-perf-trace.py
parent8dc58101f2c838355d44402aa77646649d10dbec (diff)
perf record: Introduce special handling for pipe output
Adds special treatment for stdout - if the user specifies '-o -' to perf record, the intent is that the event stream be written to stdout rather than to a disk file. Also, redirect stdout of forked child to stderr - in pipe mode, stdout of the forked child interferes with the stdout perf stream, so redirect it to stderr where it can still be seen but won't be mixed in with the perf output. Signed-off-by: Tom Zanussi <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions