diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-06-23 15:42:49 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-23 23:58:44 +0400 |
commit | cca03c0aeb18a975abec28df518a2b64ae3e6964 (patch) | |
tree | a18afb31eb7a9b7afb5ae23727de84bbef7d4401 /tools/perf/builtin-record.c | |
parent | b0a28589b2fc9bee8ed83dee006a497d1ce93841 (diff) | |
download | linux-cca03c0aeb18a975abec28df518a2b64ae3e6964.tar.xz |
perf stat: Fix verbose for perf stat
Error message should use stderr for verbose (-v), otherwise
message will be lost for:
$ ./perf stat -v <cmd> > /dev/null
For example on AMD bus-cycles event is not available so now
it looks like:
$ ./perf stat -v -e bus-cycles ls > /dev/null
Error: counter 0, sys_perf_counter_open() syscall returned with -1 (Invalid argument)
Performance counter stats for 'ls':
<not counted> bus-cycles
0.006765877 seconds time elapsed.
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1245757369.3776.1.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-record.c')
0 files changed, 0 insertions, 0 deletions