From patchwork Thu May 27 09:30:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Cao, Chen" X-Patchwork-Id: 102586 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4R9Ur24022329 for ; Thu, 27 May 2010 09:30:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932787Ab0E0Jau (ORCPT ); Thu, 27 May 2010 05:30:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44360 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933159Ab0E0Jau (ORCPT ); Thu, 27 May 2010 05:30:50 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4R9UmVv025922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 May 2010 05:30:49 -0400 Received: from dhcp-91-198.nay.redhat.com (dhcp-91-198.nay.redhat.com [10.66.91.198]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4R9UhGR018712; Thu, 27 May 2010 05:30:44 -0400 Subject: [Autotest PATCH - updated with current tree] KVM test: Add perfmon into the guest tests To: lmr@redhat.com, autotest@test.kernel.org From: Chen Cao Cc: kvm@vger.kernel.org Date: Thu, 27 May 2010 17:30:19 +0800 Message-ID: <20100527092804.7588.85143.stgit@dhcp-91-198.nay.redhat.com> User-Agent: StGit/0.15-83-g972d5 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 27 May 2010 09:30:53 +0000 (UTC) diff --git a/client/tests/kvm/autotest_control/perfmon.control b/client/tests/kvm/autotest_control/perfmon.control new file mode 100644 index 0000000..d3f5190 --- /dev/null +++ b/client/tests/kvm/autotest_control/perfmon.control @@ -0,0 +1,16 @@ +TIME="SHORT" +AUTHOR = "Stephane Eranian " +DOC = """ +This is a simple series of test for the perfmon2 API which +provides access to the hardware performance counters of modern +processors. + +Information about perfmon2 at: +http://perfmon2.sf.net +""" +NAME = 'perfmon' +TEST_CLASS = 'kernel' +TEST_CATEGORY = 'Functional' +TEST_TYPE = 'client' + +job.run_test('perfmon') diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 5349034..599e4c3 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -154,6 +154,8 @@ variants: test_control_file = hwclock.control - rtc: test_control_file = rtc.control + - perfmon: + test_control_file = perfmon.control - linux_s3: install setup unattended_install type = linux_s3