Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Graphics and Gaming
Jump...
Cancel
Graphics and Gaming
Graphics and Gaming forum
'gator driver' Complie error when enabling the GPU profiling option
Blog
Forum
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
133 subscribers
Views
3827 views
Users
0 members are here
Mali Drivers
Streamline
Mali-GPU
Mali-400
Related
'gator driver' Complie error when enabling the GPU profiling option
Offline
Derick Woo
over 7 years ago
Note: This was originally posted on 18th September 2012 at
http://forums.arm.com
Hi. developers.
Thank you in advance for your attention.
I am trying to profile the android device using ARM Streamline Performance Analyzer.
The target device is Odroid-A4 which is already tested by ARM Streamline team members (I see the YouTube video clips).
According to the ARM Streamline Menual, I compiled both gator daemon (gatord) and module driver (gator.ko)without errors and they works well.
However, I am in trouble when enabling the GPU profiling option.
According to the menual, the following two lines should be added into the gator driver make file.
=======================================================================
KCFLAGS="-IMali_driver_source_location/src/devicedrv/mali"
GATOR_WITH_MALI_SUPPORT=MALI_400
=======================================================================
So I modified the make file like that since the mali driver source code is located in that path.
=======================================================================
KCFLAGS="-I../../../mail400_driver/driver/src/devicedrv/mali"
GATOR_WITH_MALI_SUPPORT=MALI_400
=======================================================================
However, the complie error occurs since 'mali_linux_trace.h' file can't be found in path.
=======================================================================
make: Entering directory `/home/again4you/git_work/odroid_a4_mail/kernel'
CHK gator_events.h
CC [M] /home/again4you/git_work/odroid_a4_mail/gator/driver-src/gator-driver/gator_main.o
In file included from /home/again4you/git_work/odroid_a4_mail/gator/driver-src/gator-driver/gator_main.c:151:
/home/again4you/git_work/odroid_a4_mail/gator/driver-src/gator-driver/gator_trace_gpu.c:17: fatal error: linux/mali_linux_trace.h: No such file or directory
compilation terminated.
make[1]: *** [/home/again4you/git_work/odroid_a4_mail/gator/driver-src/gator-driver/gator_main.o] Error 1
make: *** [_module_/home/again4you/git_work/odroid_a4_mail/gator/driver-src/gator-driver] Error 2
make: Leaving directory `/home/again4you/git_work/odroid_a4_mail/kernel'
=======================================================================
But as I mention before, the 'mali_linux_trace.h' file existsin KCFLAGS path.
=======================================================================
again4you@again4you-x86:~/git_work/odroid_a4_mail/gator/driver-src/gator-driver$ ls ../../../mail400_driver/driver/src/devicedrv/mali/linux/mali_linux_trace.h
../../../mail400_driver/driver/src/devicedrv/mali/linux/mali_linux_trace.h
=======================================================================
Should I recompile the mali gpu drivers?
Or are there any solutions to solve this problems??
Thank you for paying attentions.
Sangjung Woo.
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
Analyzing optimized SPIR-V binaries using Mali Offline Compiler
0
Mali Offline Compiler
vulkan
Arm Mobile Studio
5672
views
4
replies
Latest
2 months ago
by
speedym
Answered
Understanding Mali Perf Counters in Streamline
0
arm streamline
Mali-G77
6068
views
2
replies
Latest
2 months ago
by
Peter Harris
Answered
GPU Benchmark Tools Recommendation
+1
GPU Tools
OpenGL ES
performance analysis
Mali-G76
9391
views
2
replies
Latest
3 months ago
by
Vikash
Answered
I want to know about the GPU Line up
+1
GPU Architecture
Mali GPU (Bifrost Architecture)
gpu
10254
views
5
replies
Latest
3 months ago
by
Peter Harris
Not Answered
Mali-G71 GPU glReadPixels slow compared to linux desktop equivilant for Default Framebuffer
+1
Android OpenGL ES
Mali-G71
Graphics APIs
5936
views
0
replies
Started
3 months ago
by
Matthew Good
<
>
View all questions in Graphics and Gaming forum