Re: [perfmon2] [Perfapi-devel] Testing of libpfm and papi ARM cortex a53 support
Status: Beta
Brought to you by:
seranian
From: Vince W. <vin...@ma...> - 2015-07-23 13:37:40
|
On Thu, 23 Jul 2015, William Cohen wrote: > Right now the output of the test is looking wrong on the cortex ac53 board and I need to do some additional investigation. The ac53 events are very similar to other armv8 hardware. I should get an xgene or seattle machine and do some comparisons between them. The problem could be in places other than libpfm4 such as the kernel. The problem is in PAPI, the workaround for the lack of kernel/user separation pre Cortex-A15 was never updated. see the code in the perf_event component: /* ARM */ if ( _papi_hwi_system_info.hw_info.vendor == PAPI_VENDOR_ARM) { /* FIXME: this will change with Cortex A15 */ vector->cmp_info.available_domains |= PAPI_DOM_USER | PAPI_DOM_KERNEL | PAPI_DOM_SUPERVISOR; vector->cmp_info.default_domain = PAPI_DOM_USER | PAPI_DOM_KERNEL | PAPI_DOM_SUPERVISOR; } Vince |