diff options
author | Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> | 2009-11-10 08:20:00 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-10 04:53:48 +0100 |
commit | 386d7e9e542c2115d5d300747e57f503458a1617 (patch) | |
tree | 0cacfa2528b0f2ebbea2dddc69bd6cbec2250c13 /tools/perf/perf.c | |
parent | 242aa14a67f4e19453fc8a51cffc5ac5ee5bcbd1 (diff) | |
download | op-kernel-dev-386d7e9e542c2115d5d300747e57f503458a1617.zip op-kernel-dev-386d7e9e542c2115d5d300747e57f503458a1617.tar.gz |
perf bench: Modify builtin-bench.c for processing common options
This patch modifies builtin-bench.c for processing common
options. The first option added is "--format".
Users of perf bench will be able to specify output style by
--format.
Usage example:
% ./perf bench sched messaging # with no style specify
(20 sender and receiver processes per group)
(10 groups == 400 processes run)
Total time:1.431 sec
% ./perf bench --format=simple sched messaging # specified
simple 1.431
Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1257808802-9420-3-git-send-email-mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions