summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'driver/gator_events_perf_pmu.c')
-rw-r--r--driver/gator_events_perf_pmu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/gator_events_perf_pmu.c b/driver/gator_events_perf_pmu.c
index 8b2d67a..06bbad5 100644
--- a/driver/gator_events_perf_pmu.c
+++ b/driver/gator_events_perf_pmu.c
@@ -470,10 +470,10 @@ static void gator_events_perf_pmu_cci_init(const int type)
470 470
471 switch (probe_cci_revision()) { 471 switch (probe_cci_revision()) {
472 case 0: 472 case 0:
473 cci_name = "cci-400"; 473 cci_name = "CCI_400";
474 break; 474 break;
475 case 1: 475 case 1:
476 cci_name = "cci-400-r1"; 476 cci_name = "CCI_400-r1";
477 break; 477 break;
478 default: 478 default:
479 pr_debug("gator: unrecognized cci-400 revision\n"); 479 pr_debug("gator: unrecognized cci-400 revision\n");
@@ -549,7 +549,7 @@ int gator_events_perf_pmu_init(void)
549 } 549 }
550 550
551 if (pe->pmu != NULL && type == pe->pmu->type) { 551 if (pe->pmu != NULL && type == pe->pmu->type) {
552 if (strcmp("CCI", pe->pmu->name) == 0 || strcmp("CCI_400", pe->pmu->name) == 0) { 552 if (strcmp("CCI", pe->pmu->name) == 0 || strcmp("CCI_400", pe->pmu->name) == 0 || strcmp("CCI_400-r1", pe->pmu->name) == 0) {
553 gator_events_perf_pmu_cci_init(type); 553 gator_events_perf_pmu_cci_init(type);
554 } else if ((gator_cpu = gator_find_cpu_by_pmu_name(pe->pmu->name)) != NULL) { 554 } else if ((gator_cpu = gator_find_cpu_by_pmu_name(pe->pmu->name)) != NULL) {
555 found_cpu = true; 555 found_cpu = true;