From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: Re: [PATCH] KVM test: Add perfmon into the guest tests Date: Thu, 27 May 2010 10:08:49 +0200 Message-ID: <4BFE2891.3070804@redhat.com> References: <20100525030521.24717.39758.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: lmr@redhat.com, autotest@test.kernel.org, kvm@vger.kernel.org To: Chen Cao Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8346 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754902Ab0E0IIy (ORCPT ); Thu, 27 May 2010 04:08:54 -0400 In-Reply-To: <20100525030521.24717.39758.stgit@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: 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. Cheers, Jes