perf kvm: Introduce option -v for perf kvm command.
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Mon, 9 Dec 2013 17:15:11 +0000 (12:15 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 9 Dec 2013 18:19:11 +0000 (15:19 -0300)
commit100b907350c87aa1f3b5dbd95bac3ad5aad3e108
treecc0efec601b600fa65316bdfcda0a261e6231a58
parent1dbfa9387b397f2c4b8c65411b3e3fdf9284d2b1
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>
tools/perf/Documentation/perf-kvm.txt
tools/perf/builtin-kvm.c