perf bench: Modify builtin-bench.c for processing common options
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Mon, 9 Nov 2009 23:20:00 +0000 (08:20 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Nov 2009 03:53:48 +0000 (04:53 +0100)
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>

No differences found