diff options
Diffstat (limited to 'powerpc/pmu/ebb/lost_exception_test.c')
-rw-r--r-- | powerpc/pmu/ebb/lost_exception_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/pmu/ebb/lost_exception_test.c b/powerpc/pmu/ebb/lost_exception_test.c index 0c9dd9b..eb8acb7 100644 --- a/powerpc/pmu/ebb/lost_exception_test.c +++ b/powerpc/pmu/ebb/lost_exception_test.c @@ -23,6 +23,8 @@ static int test_body(void) int i, orig_period, max_period; struct event event; + SKIP_IF(!ebb_is_supported()); + /* We use PMC4 to make sure the kernel switches all counters correctly */ event_init_named(&event, 0x40002, "instructions"); event_leader_ebb_init(&event); |