diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2013-12-09 12:15:11 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-09 13:19:11 -0500 |
commit | 100b907350c87aa1f3b5dbd95bac3ad5aad3e108 (patch) | |
tree | cc0efec601b600fa65316bdfcda0a261e6231a58 /tools/perf/Documentation | |
parent | 1dbfa9387b397f2c4b8c65411b3e3fdf9284d2b1 (diff) |
perf kvm: Introduce option -v for perf kvm command.
As there is no -v option for perf kvm, the all debug message for perf
kvm will nerver be printed out to user.
Example:
# perf kvm --guestmount /tmp/guestmount/ record -a
Not enough memory for reading perf file header
It is confusing message for newbies such as me. With this patch applied,
we can use -v option to get the detail.
Example:
# perf kvm --guestmount /tmp/guestmount/ record -a -v
Can't access file /tmp/guestmount//15069/proc/kallsyms
Not enough memory for reading perf file header
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1386609311-23889-1-git-send-email-yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-kvm.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt index 96a9a1dea727..52276a6d2b75 100644 --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt | |||
@@ -10,9 +10,9 @@ SYNOPSIS | |||
10 | [verse] | 10 | [verse] |
11 | 'perf kvm' [--host] [--guest] [--guestmount=<path> | 11 | 'perf kvm' [--host] [--guest] [--guestmount=<path> |
12 | [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] | 12 | [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] |
13 | {top|record|report|diff|buildid-list} | 13 | {top|record|report|diff|buildid-list} [<options>] |
14 | 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> | 14 | 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> |
15 | | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} | 15 | | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>] |
16 | 'perf kvm stat [record|report|live] [<options>] | 16 | 'perf kvm stat [record|report|live] [<options>] |
17 | 17 | ||
18 | DESCRIPTION | 18 | DESCRIPTION |
@@ -93,6 +93,9 @@ OPTIONS | |||
93 | kernel module information. Users copy it out from guest os. | 93 | kernel module information. Users copy it out from guest os. |
94 | --guestvmlinux=<path>:: | 94 | --guestvmlinux=<path>:: |
95 | Guest os kernel vmlinux. | 95 | Guest os kernel vmlinux. |
96 | -v:: | ||
97 | --verbose:: | ||
98 | Be more verbose (show counter open errors, etc). | ||
96 | 99 | ||
97 | STAT REPORT OPTIONS | 100 | STAT REPORT OPTIONS |
98 | ------------------- | 101 | ------------------- |