On Thu, May 27, 2010 at 10:08:49AM +0200, Jes Sorensen wrote: > On 05/25/10 05:05, Chen Cao wrote: > > perfmon2 API provides access to the hardware performance counters of > > modern processors. > > > > Dependency, > > To compile the source code of the test, the following packages should > > be installed, > > glibc-static-2.11.1-6.x86_64 > > glibc-headers-2.11.1-6.x86_64 > > glibc-common-2.11.1-6.x86_64 > > glibc-devel-2.11.1-6.x86_64 > > glibc-2.11.1-6.x86_64 > > > > Note, > > 1. libpfm uses the Performance Monitor Unit (PMU) on the processors, > > but this unit is not provided by kvm currently, i.e. the test should > > fail in kvm guests. > > 2. According to the README file of perfmon-tests-0.3, 2.6.24 or higer > > Linux kernel (with perfmon v2.8 or higher) is needed to run the tests. > > I thought perfmon2 was deprecated in favor of perf_event.c ? The only > reference left for perfmon2 in the kernel is in the ia64 tree, and > KVM/ia64 seems to be pretty dead these days. > Jes, Thank you for reminding. I have not noticed your mail this afternoon and resent the patches for the perfmon test, it seems that i may have made a mistake. by the way, could you tell me how to verify that "perfmon2 was deprecated in favor of perf_event.c", except looking into the kernel code? Regards, Cao, Chen 2010/05/27 -- 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