WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Perfcrt enabled kernel

To: Xen developer <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen User <xen-users-bounces@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Perfcrt enabled kernel
From: Ata Bohra <ata.husain@xxxxxxxxxxx>
Date: Thu, 23 Jul 2009 05:33:14 +0530
Cc:
Delivery-date: Wed, 22 Jul 2009 17:03:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <EF547E542C520A4D858CFEF5B404D0534AFCEC3AA2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20090605205123.GB4514@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EA57C21@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090608100212.GA11202@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EAC67CE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090609084651.GA14593@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EB1ACDB@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090616103822.GA32136@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477FA5EE8B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090619173009.GA13896@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D0534AFCC752B2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090619215857.GA14674@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D0534AFCEC3AA2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Dear All,
 
I am trying to use perfctr driver along with centos 2.6.18-128.2.1.el5xen kernel. I tried following steps:
 
1. Installed the kernel source: src rpm (2.6.18-128.2.1.el5.src.rpm)
2. Patched the extracted kernel with perfcrt-2.6.38 available patch i.e. 2.6.18-128.el5-redhat.
3. Enabled the perfctr driver, global and virtual component
4. Atlast I tried to build, but the compile process gives an error while compiling kernel/sched.c. I tried to dig in to the code, but error says "perfcrt not found as a member in struct thread_struct", but the processor.h thread_struct has a member "perfctr".
 
As the patch was available for 2.6.18-128.el5, I also tried to patch 2.6.18-128.el5xen which is installed by default unless you perform a "yum update", but still the same issue.
 
Please suggest if someone is been successful in installing the perfctr driver.
 
Thanks in advance!
 
Regards,
Ata E Husain
University at Buffalo


With Windows Live, you can organize, edit, and share your photos.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Perfcrt enabled kernel, Ata Bohra <=