Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR forum
Driver compile with profiling option
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
136 subscribers
Views
5199 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 11 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 11 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
Up
0
Down
Cancel
Reply
Karthik Hariharakrishnan
over 11 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
Up
0
Down
Cancel
Children
No data