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-changelog

[Xen-changelog] [xen-unstable] xenoprof: add support for Core i7 and Ato

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenoprof: add support for Core i7 and Atom.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Sep 2009 02:15:09 -0700
Delivery-date: Tue, 15 Sep 2009 02:15:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253005335 -3600
# Node ID 65968459de751a49498b1ad23279e272a6dfd044
# Parent  c23ed85f247bc14f0ab8484f1ca34df566922d67
xenoprof: add support for Core i7 and Atom.

Signed-off-by: Yang Zhang <yang.zhang@xxxxxxxxx>
Signed-off-by: Yang Xiaowei <xiaowei.yang@xxxxxxxxx>
---
 xen/arch/x86/oprofile/nmi_int.c |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff -r c23ed85f247b -r 65968459de75 xen/arch/x86/oprofile/nmi_int.c
--- a/xen/arch/x86/oprofile/nmi_int.c   Tue Sep 15 09:54:16 2009 +0100
+++ b/xen/arch/x86/oprofile/nmi_int.c   Tue Sep 15 10:02:15 2009 +0100
@@ -357,22 +357,28 @@ static int __init ppro_init(char ** cpu_
                *cpu_type = "i386/pii";
                break;
        case 6 ... 8:
+       case 10 ... 11:
                *cpu_type = "i386/piii";
                break;
        case 9:
+       case 13:
                *cpu_type = "i386/p6_mobile";
-               break;
-       case 10 ... 13:
-               *cpu_type = "i386/p6";
                break;
        case 14:
                *cpu_type = "i386/core";
                break;
        case 15:
        case 23:
-       case 26:
        case 29:
                *cpu_type = "i386/core_2";
+               ppro_has_global_ctrl = 1;
+               break;
+       case 26:
+               *cpu_type = "i386/core_i7";
+               ppro_has_global_ctrl = 1;
+               break;
+       case 28:
+               *cpu_type = "i386/atom";
                ppro_has_global_ctrl = 1;
                break;
        default:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xenoprof: add support for Core i7 and Atom., Xen patchbot-unstable <=