aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/oprofile
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2013-02-12 11:18:54 +0100
committerSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2013-02-12 11:18:54 +0100
commit300ef0cb4fde0e4e753f2ad3f2f48c2bbee187df (patch)
tree87e4b6632508f0de00fcfad7da1823f730e163ae /xen/arch/x86/oprofile
parentbf560076938e168fd6436deda6b6c856313d575b (diff)
downloadxen-300ef0cb4fde0e4e753f2ad3f2f48c2bbee187df.tar.gz
xen-300ef0cb4fde0e4e753f2ad3f2f48c2bbee187df.tar.bz2
xen-300ef0cb4fde0e4e753f2ad3f2f48c2bbee187df.zip
x86: Add Xenoprofile support for AMD Family16h
Add Xenoprofile support for AMD Family16h. The corresponded OProfile patch has already been submitted to OProfile mailing list. (http://marc.info/?l=oprofile-list&m=136036136017302&w=2 ). Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/arch/x86/oprofile')
-rw-r--r--xen/arch/x86/oprofile/nmi_int.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/oprofile/nmi_int.c b/xen/arch/x86/oprofile/nmi_int.c
index 0710db2708..c824b84eaf 100644
--- a/xen/arch/x86/oprofile/nmi_int.c
+++ b/xen/arch/x86/oprofile/nmi_int.c
@@ -415,6 +415,10 @@ static int __init nmi_init(void)
model = &op_amd_fam15h_spec;
cpu_type = "x86-64/family15h";
break;
+ case 0x16:
+ model = &op_athlon_spec;
+ cpu_type = "x86-64/family16h";
+ break;
}
break;