Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
'gator driver' Complie error when enabling the GPU profiling option
Locked
Locked
Replies
4 replies
Subscribers
136 subscribers
Views
6213 views
Users
0 members are here
Mali Drivers
Streamline
Mali-GPU
Mali-400
Options
Share
More actions
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
'gator driver' Complie error when enabling the GPU profiling option
Derick Woo
over 12 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.
0
Quote