From patchwork Tue May 25 03:05:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Cao, Chen" X-Patchwork-Id: 102076 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 o4P35lGY011717 for ; Tue, 25 May 2010 03:05:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757222Ab0EYDFp (ORCPT ); Mon, 24 May 2010 23:05:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12697 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757164Ab0EYDFp (ORCPT ); Mon, 24 May 2010 23:05:45 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4P35hOw028687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 May 2010 23:05:43 -0400 Received: from localhost.localdomain (dhcp-91-198.nay.redhat.com [10.66.91.198]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4P35fNr028177; Mon, 24 May 2010 23:05:42 -0400 Subject: [PATCH] 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: Tue, 25 May 2010 11:05:21 +0800 Message-ID: <20100525030521.24717.39758.stgit@localhost.localdomain> User-Agent: StGit/0.15-83-g972d5 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 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]); Tue, 25 May 2010 03:05:48 +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 be96dc1..adf4c02 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -151,6 +151,8 @@ variants: test_control_file = scrashme.control - hwclock: test_control_file = hwclock.control + - perfmon: + test_control_file = perfmon.control - linux_s3: install setup unattended_install type = linux_s3