diff options
| author | Hitoshi Mitake <[email protected]> | 2010-05-08 08:10:29 +0000 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2010-05-09 19:52:27 +0000 |
| commit | 76ba7e846fcc89d9d4b25b89e303c9058de96d60 (patch) | |
| tree | 1bf5ac30708ed35a203ba9b1101cd9e597b77016 /tools/perf/builtin-annotate.c | |
| parent | perf/live-mode: Handle payload-less events (diff) | |
| download | kernel-76ba7e846fcc89d9d4b25b89e303c9058de96d60.tar.gz kernel-76ba7e846fcc89d9d4b25b89e303c9058de96d60.zip | |
perf lock: Drop "-a" option from cmd_record() default arguments set
This patch drops "-a" from the default arguments passed to
perf record by perf lock.
If a user wants to do a system wide record of lock events,
perf lock record -a <program> <argument> ...
is enough for this purpose.
This can reduce the size of the perf.data file.
% sudo ./perf lock record whoami
root
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.439 MB perf.data (~19170 samples) ]
% sudo ./perf lock record -a whoami # with -a option
root
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 48.962 MB perf.data (~2139197 samples) ]
Signed-off-by: Hitoshi Mitake <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Xiao Guangrong <[email protected]>
LKML-Reference: Message-Id: <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
