...
Check if
wperf-drivercorrectly loads and unloads its resources.Implement PMU (driver) resource acquisition lock and release.
wperf-drivershould be able to release PMU resources if they are not used by user space applicationwperf.
Make sure only one user space application can access
wperf-driver’s PMU resources.Introduce “busy” state to
wperf-driver.All
wperfuser space instances should be able to tell if driver is currently “in use” by anotherwperfinstance(s).Note: this will be extended in Device Tree feature. Each driver will be able to communicate user space if resource is ready, acquired and ready to use (other “states” may be added later).
In DT architecture there will be N drivers, user space can acquire driver(s) leaving other driver for users' disposal. Currently if user space is for example counting core, other
wperfinstance can’t use DMC resource.
unCore PMU Driver Improvements
Current wperf-driver implementation is not auto detecting unCore PMU.
...