perf bench: Add new subcommand 'bench' to perf.c
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Thu, 5 Nov 2009 00:31:36 +0000 (09:31 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 8 Nov 2009 09:19:19 +0000 (10:19 +0100)
This patch modifies perf.c for invoking 'bench' subcommand.

Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: fweisbec@gmail.com
Cc: Jiri Kosina <jkosina@suse.cz>
LKML-Reference: <1257381097-4743-7-git-send-email-mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/perf.c

index 624e62d9d1e083add26fdd98d3a12a10b04a2d1e..f90ca5ec83f3674fcde7b1aedd5b490a9907646d 100644 (file)
@@ -288,6 +288,7 @@ static void handle_internal_command(int argc, const char **argv)
                { "list", cmd_list, 0 },
                { "record", cmd_record, 0 },
                { "report", cmd_report, 0 },
+               { "bench", cmd_bench, 0 },
                { "stat", cmd_stat, 0 },
                { "timechart", cmd_timechart, 0 },
                { "top", cmd_top, 0 },