[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xenoprof: Update cpu_type to sync with upstream oprofile



# HG changeset patch
# User Jacob Shin <jacob.shin@xxxxxxx>
# Date 1304930954 -3600
# Node ID 8981b582be3e2f6647ef5ff3d93e167436ed357a
# Parent  82180954eda9cfe279e7ecf8c9ed4ffa29796bfb
xenoprof: Update cpu_type to sync with upstream oprofile

Update xenoprof's cpu_type to match upstream oprofile. Currently AMD
Family 11h ~ Family 15h are broken due to string mismatches.

Signed-off-by: Jacob Shin <jacob.shin@xxxxxxx>
---


diff -r 82180954eda9 -r 8981b582be3e xen/arch/x86/oprofile/nmi_int.c
--- a/xen/arch/x86/oprofile/nmi_int.c   Mon May 09 09:46:02 2011 +0100
+++ b/xen/arch/x86/oprofile/nmi_int.c   Mon May 09 09:49:14 2011 +0100
@@ -435,19 +435,19 @@
                                break;
                        case 0x11:
                                model = &op_athlon_spec;
-                               cpu_type = "x86-64/family11";
+                               cpu_type = "x86-64/family11h";
                                break;
                         case 0x12:
                                model = &op_athlon_spec;
-                               cpu_type = "x86-64/family12";
+                               cpu_type = "x86-64/family12h";
                                break;
                        case 0x14:
                                 model = &op_athlon_spec;
-                                cpu_type = "x86-64/family14";
+                                cpu_type = "x86-64/family14h";
                                 break;
                         case 0x15:
                                 model = &op_athlon_spec;
-                                cpu_type = "x86-64/family15";
+                                cpu_type = "x86-64/family15h";
                                 break;
                        }
                        break;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.