Port work-in-progress oprofile with Cortex-A9 support.
Change-Id: I26ecf3697c651dae31050081d6918ee5fc87915d
diff --git a/libop/op_events.c b/libop/op_events.c
index ad95d86..c3fcf57 100644
--- a/libop/op_events.c
+++ b/libop/op_events.c
@@ -970,6 +970,8 @@
case CPU_FAMILY11H:
case CPU_ATOM:
case CPU_CORE_I7:
+ case CPU_NEHALEM:
+ case CPU_MIPS_LOONGSON2:
descr->name = "CPU_CLK_UNHALTED";
break;
@@ -1005,6 +1007,7 @@
case CPU_ARM_MPCORE:
case CPU_ARM_V6:
case CPU_ARM_V7:
+ case CPU_ARM_V7_CA9:
case CPU_AVR32:
descr->name = "CPU_CYCLES";
break;
@@ -1029,10 +1032,9 @@
break;
case CPU_MIPS_24K:
- descr->name = "INSTRUCTIONS";
- break;
-
case CPU_MIPS_34K:
+ case CPU_MIPS_74K:
+ case CPU_MIPS_1004K:
descr->name = "INSTRUCTIONS";
break;