|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xenoprof: add support for Core i7 and Ato
# 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 <=
|
|
|
|
|