diff options
author | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2015-11-29 23:02:08 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2015-11-29 23:02:08 +0000 |
commit | f8a700c636fa74706733014701fbeb1ac660a85d (patch) | |
tree | 51d4951dffcf9725c8f7ec74fa0c35562b22567f /powerpc/pmu/ebb/multi_counter_test.c | |
parent | 751dc08e504621a230a1b556abdd2c660953708d (diff) |
Update to commit: 8005c49d9aea74d382f474ce11afbbc7d7130bec8005c49d9aea74d382f474ce11afbbc7d7130bec
from repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
branch: master
Diffstat (limited to 'powerpc/pmu/ebb/multi_counter_test.c')
-rw-r--r-- | powerpc/pmu/ebb/multi_counter_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/pmu/ebb/multi_counter_test.c b/powerpc/pmu/ebb/multi_counter_test.c index 67d78af..6ff8c8f 100644 --- a/powerpc/pmu/ebb/multi_counter_test.c +++ b/powerpc/pmu/ebb/multi_counter_test.c @@ -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"); |