Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
Driver compile with profiling option
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
137 subscribers
Views
5410 views
Users
0 members are here
Mali Drivers
Mali-GPU
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Driver compile with profiling option
Dae Chol You
over 12 years ago
Note: This was originally posted on 10th May 2012 at
http://forums.arm.com
Hello!
I am trying to use Mali GPU performance analyzer.
At first, I thought that performance analyzer can be connected to target embedded device by installing "libmaliinstr.so" library file to target embedded platform.
But it didn't work.
In user guide, there is a requirement that an instrumented driver should be used for profiling.
Does it mean Mali Linux kernel device driver should be compiled with profiling option? (USING_PROFILING in Makefile)
When I try this, I get error messages.
FIrst, mali_cinstr_profiling_events_m200.h header file doesn't exist , it is included by mali_kernel_profiling.h
And some undeclared define values make problem
drivers/media/video/samsung/mali/common/mali_kernel_MALI200.c:646: error: 'MALI_PROFILING_EVENT_TYPE_START' undeclared (first use in this function)
drivers/media/video/samsung/mali/common/mali_kernel_MALI200.c:718: error: 'MALI_PROFILING_EVENT_TYPE_STOP' undeclared (first use in this function)
Parents
Karthik Hariharakrishnan
over 12 years ago
Note: This was originally posted on 10th May 2012 at
http://forums.arm.com
Hi Yoda,
As the user guide mentions, an instrumented driver is needed for profiling. The instrumented drivers requires modifications to both the user space and kernel drivers. The drivers you have modified belong to the kernel space.
These drivers are typically not included in release versions and you would have to request them from the silicon vendor. Could you let us know what performance problems you are facing so we can better advise you?
Thanks
Karthik
Cancel
Vote up
0
Vote down
Cancel
Reply
Karthik Hariharakrishnan
over 12 years ago
Note: This was originally posted on 10th May 2012 at
http://forums.arm.com
Hi Yoda,
As the user guide mentions, an instrumented driver is needed for profiling. The instrumented drivers requires modifications to both the user space and kernel drivers. The drivers you have modified belong to the kernel space.
These drivers are typically not included in release versions and you would have to request them from the silicon vendor. Could you let us know what performance problems you are facing so we can better advise you?
Thanks
Karthik
Cancel
Vote up
0
Vote down
Cancel
Children
No data