perf_event_tests icon indicating copy to clipboard operation
perf_event_tests copied to clipboard

perf_event_tests: branches and non-existent are failing for aarch64

Open muralimk51 opened this issue 7 years ago • 0 comments

Hi,

I am using Hikey (ARM64) target. {{{ / # cat /proc/cpuinfo processor : 0 BogoMIPS : 3.84 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 .... }}}

When I execute perf_event_tests below are failing:

[1]. perf "branches" test failing with below error: {{{ perf_event-branches ] # Error: Testing a loop with 1500000 branches (100 times): [perf_event-branches ] # Error: Expected: 1500000 [perf_event-branches ] # Error: High: 1000006 Low: 1000003 Average: 1000004 [perf_event-branches ] # Error: ( note, a small value above 1500000 may be expected due [perf_event-branches ] # Error: to overhead and interrupt noise, among other reasons) [perf_event-branches ] # Error: Average Error = -33.33% [perf_event-branches ] # Error: Instruction count off by more than 1% [perf_event-branches ] # Error: Testing "branches" generalized event... ^[[1;31mFAILED^[[0m }}}

[2]. perf "non-existent" failing with below error: {{{ Testing if non-existent events fail... ^[[1mSKIPPED^[[0m }}}

Could you please share your comments whether this supports AArch64 targets or not. and How to resolve above issues.

Thanks, Murali

muralimk51 avatar Jan 31 '18 09:01 muralimk51