Perfmon function in patrace for Mali GPU utilizes HWCPipe, it is a very useful feature for performance monitoring and analysis. But this function is broken with latest Mali driver.
Current patrace uses HWCPipe 1.0 which relys on ioctl interfaces like KBASE_IOCTL_HWCNT_READER_SETUP, but these interfaces have been removed in the newer version of Mali driver.
To support newer version of Mali driver, patrace needs to be updated to use HWCPipe API of latest version of https://github.com/ARM-software/libGPUCounters/
Perfmon function in patrace for Mali GPU utilizes HWCPipe, it is a very useful feature for performance monitoring and analysis. But this function is broken with latest Mali driver.
Current patrace uses HWCPipe 1.0 which relys on ioctl interfaces like KBASE_IOCTL_HWCNT_READER_SETUP, but these interfaces have been removed in the newer version of Mali driver.
To support newer version of Mali driver, patrace needs to be updated to use HWCPipe API of latest version of https://github.com/ARM-software/libGPUCounters/