perf kvm: Make perf kvm diff support --guestmount.
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Fri, 6 Dec 2013 22:25:52 +0000 (17:25 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 9 Dec 2013 18:24:25 +0000 (15:24 -0300)
commitd8d9608fdd19f85a524db0a41bc2def5c88cbdd0
treebaf08e77cf3737b94ef5244e857aed84bb89abf8
parente1a2b174dbbe08dce12bde9f05f64dbbae652bed
perf kvm: Make perf kvm diff support --guestmount.

In manpage of perf-kvm, --guestmount is supported by diff command, but
it does not work well.

This patch change the extend the checking in buildid-diff from
guestkallsyms or guestmodules to perf_guest. Then this checking can
cover the all cases perf kvm is used for.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/72857ed89642e0633f5e88f7e7abbc9645359e8e.1386368672.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c