Hi,I'm trying to build Gator-driver with linux kernel 3.0.15 for Mali-400MP profiling.Here is the command that I used.========================================================================== make -C /home/hanback/Downloads/galaxy/kernel/gokhanmoral-siyahkernel3-1aafc91 M=$(pwd) ARCH=arm CROSS_COMPILE=/opt/arm-linux-gnueabi-gcc/bin/arm-linux-gnueabi- KCFLAGS="-I /home/hanback/Downloads/galaxy/kernel/gokhanmoral-siyahkernel3-1aafc91/drivers/media/video/samsung/mali" GATOR_WITH_MALI_SUPPORT=MALI_400 modules========================================================================Unfortunately I got an error message.==============================================================================/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c: In function "˜start':/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c:588:5: error: implicit declaration of function "˜register_trace_mali_sw_counters' [-Werror=implicit-function-declaration]/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c: In function "˜stop':/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c:617:5: error: implicit declaration of function "˜unregister_trace_mali_sw_counters' [-Werror=implicit-function-declaration]cc1: some warnings being treated as errorsmake[1]: *** [/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.o] Error 1make: *** [_module_/usr/local/DS-5/arm/gator/driver-src/gator-driver] Error 2==================================================================================How can I resolve this problem??Thank you.Daisy.
Hi Daisy, thanks for the question.From the error message it looks like the gator build is missing the tracepoint functions which would normally be provided by the Mali GPU driver. From this I conclude that the driver is probably an older version that does not have these tracepoints.One thing that you can try is to set the #define GATOR_MALI_INTERFACE_STYLE to a lower value than the default (3) when building the gator driver. You will see how this is used if you take a look at gator_events_mali_400.c in the gator driver source. A value of 1 or 2 will cause gator to use an older interface to talk to the Mali driver which may allow you to proceed further.Hope this helps,Mark Edgeworth