[PATCH] oprofile-tests: Broadwell and Skylake identification fix

Michael Petlan <[email protected]>
Newsgroups gmane.linux.oprofile
Organization Red Hat
Message-ID <1444905736.12960.32.camel@Rudolf-RHEL-7>
Fixed identification of Broadwell and Skylake processors

Signed-off-by: Michael Petlan <[email protected]>
--

diff --git a/testsuite/lib/op_events.exp b/testsuite/lib/op_events.exp
index 472d78c..ec804d2 100644
--- a/testsuite/lib/op_events.exp
+++ b/testsuite/lib/op_events.exp
@@ -813,7 +813,7 @@ proc select_cpu_events {cpu_name} {
        i386/silvermont {set type arch_perf}
        Intel_Silvermont_microarchitecture {set type arch_perf}
        i386/broadwell {set type arch_perf}
-       Intel_broadwell_microarchitecture {set type arch_perf}
+       Intel_Broadwell_microarchitecture {set type arch_perf}
        i386/skylake {set type skylake}
        Intel_Skylake_microarchitecture {set type skylake}
     }
diff --git a/testsuite/lib/op_util.exp b/testsuite/lib/op_util.exp
index 09e76d3..2f3695a 100644
--- a/testsuite/lib/op_util.exp
+++ b/testsuite/lib/op_util.exp
@@ -129,10 +129,15 @@ proc op_intel_perf_arch {cpu_type} {
            58 {set cpu_type i386/ivybridge}
            62 {set cpu_type i386/ivybridge}
            60 {set cpu_type i386/haswell}
+           61 {set cpu_type i386/broadwell}
            63 {set cpu_type i386/haswell}
-           66 {set cpu_type i386/haswell}
+           69 {set cpu_type i386/haswell}
            70 {set cpu_type i386/haswell}
-           71 {set cpu_type i386/haswell}
+           71 {set cpu_type i386/broadwell}
+           78 {set cpu_type i386/skylake}
+           79 {set cpu_type i386/broadwell}
+           86 {set cpu_type i386/broadwell}
+           94 {set cpu_type i386/skylake}
        }
     }

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
broadwell_skylake_identification.patch (text/x-patch, 1.3 KB)
diff --git a/testsuite/lib/op_events.exp b/testsuite/lib/op_events.exp
index 472d78c..ec804d2 100644
--- a/testsuite/lib/op_events.exp
+++ b/testsuite/lib/op_events.exp
@@ -813,7 +813,7 @@ proc select_cpu_events {cpu_name} {
 	i386/silvermont {set type arch_perf}
 	Intel_Silvermont_microarchitecture {set type arch_perf}
 	i386/broadwell {set type arch_perf}
-	Intel_broadwell_microarchitecture {set type arch_perf}
+	Intel_Broadwell_microarchitecture {set type arch_perf}
 	i386/skylake {set type skylake}
 	Intel_Skylake_microarchitecture {set type skylake}
     }
diff --git a/testsuite/lib/op_util.exp b/testsuite/lib/op_util.exp
index 09e76d3..2f3695a 100644
--- a/testsuite/lib/op_util.exp
+++ b/testsuite/lib/op_util.exp
@@ -129,10 +129,15 @@ proc op_intel_perf_arch {cpu_type} {
 	    58 {set cpu_type i386/ivybridge}
 	    62 {set cpu_type i386/ivybridge}
 	    60 {set cpu_type i386/haswell}
+	    61 {set cpu_type i386/broadwell}
 	    63 {set cpu_type i386/haswell}
-	    66 {set cpu_type i386/haswell}
+	    69 {set cpu_type i386/haswell}
 	    70 {set cpu_type i386/haswell}
-	    71 {set cpu_type i386/haswell}
+	    71 {set cpu_type i386/broadwell}
+	    78 {set cpu_type i386/skylake}
+	    79 {set cpu_type i386/broadwell}
+	    86 {set cpu_type i386/broadwell}
+	    94 {set cpu_type i386/skylake}
 	}
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.