On 02/13/2012 03:06 AM, Xiao Guangrong wrote: > On 02/13/2012 01:32 PM, David Ahern wrote: > >> [sorry for the top post - you would think Android would have a better mail client] >> >> If the first patch is needed then kvm-events will not work with older, unpatched kernels. That's a big limitation from a perf perpective. >> > > > The first patch is only needed for code compilation, after kvm-events is > compiled, you can analyse any kernels. :) understood. Now that I recall perf's way of handling out of tree builds, a couple of comments: 1. you need to add the following to tools/perf/MANIFEST arch/x86/include/asm/svm.h arch/x86/include/asm/vmx.h arch/x86/include/asm/kvm_host.h 2.scripts/checkpatch.pl is an unhappy camper. I'll take a look at the code and try out the command when I get some time. David -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html