diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-17 14:51:10 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-17 15:22:37 -0400 |
commit | 8035458fbb567ae138c77a5f710050107c6a7066 (patch) | |
tree | 0bd6e3730d96aa5d574e73d500f1820d2b195d8c /tools/perf/builtin-kvm.c | |
parent | 1967936d688c475b85d34d84e09858cf514c893c (diff) |
perf options: Type check OPT_BOOLEAN and fix the offenders
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-kvm.c')
-rw-r--r-- | tools/perf/builtin-kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index a4c7cae45024..b1c6b38567f0 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c | |||
@@ -22,8 +22,8 @@ | |||
22 | static char *file_name; | 22 | static char *file_name; |
23 | static char name_buffer[256]; | 23 | static char name_buffer[256]; |
24 | 24 | ||
25 | int perf_host = 1; | 25 | bool perf_host = 1; |
26 | int perf_guest; | 26 | bool perf_guest; |
27 | 27 | ||
28 | static const char * const kvm_usage[] = { | 28 | static const char * const kvm_usage[] = { |
29 | "perf kvm [<options>] {top|record|report|diff|buildid-list}", | 29 | "perf kvm [<options>] {top|record|report|diff|buildid-list}", |