selftests/powerpc: Run EBB tests only on POWER8
[deliverable/linux.git] / tools / testing / selftests / powerpc / pmu / ebb / multi_counter_test.c
index 67d78af3284c3e59f652b2bf765a607b4c25bb86..6ff8c8ff27d66cf9aeb4579f95a8598f1e4e8296 100644 (file)
@@ -18,6 +18,8 @@ int multi_counter(void)
        struct event events[6];
        int i, group_fd;
 
+       SKIP_IF(!ebb_is_supported());
+
        event_init_named(&events[0], 0x1001C, "PM_CMPLU_STALL_THRD");
        event_init_named(&events[1], 0x2D016, "PM_CMPLU_STALL_FXU");
        event_init_named(&events[2], 0x30006, "PM_CMPLU_STALL_OTHER_CMPL");
This page took 0.038315 seconds and 5 git commands to generate.