Hi,
I am trying to profile Mali GPU counters on Odroid XU3 using Streamline. I have downloaded DS-5 Ultimate Edition trial for this purpose and built and run the gator daemon on the board ( using the steps from https://github.com/ARM-software/gator )
1. I am having some trouble with the GATOR_WITH_MALI_SUPPORT=MALI_MIDGARD flags, make does not seem to recognize this option. Without it I am able to compile and run.
2. I am able to see the Cortex A15/A7 stats but no GPU counters are visible on Streamline. Is this related to the previous step?
3. Does DS-5 Community Edition not support Streamline? I initially used that and it said there was no valid license.
4. Is there a way to read/log the GPU counter data on the board itself without using a host PC app like Streamline? If yes, could you please point me to documentation to enable this?
Thanks,
Manoj
Hi Manoj,
I have looked into this issue with the Streamline team and unfortunately it is a kernel bug. Around the time that this kernel came out some investigation was done by the team. This is a known issue and is documented in the readme that comes with gator.
The solution unfortunately is to either update the kernel version to a version that patches the problem or to use the gator.ko to capture the CPU and the GPU counters. Which would mean you would need to build gator.ko correctly.
Looking at the latest kernel version it is 3.10.106 hopefully this will include the patch that is needed. However the actual fix is in 3.14 so we need to hope that the fix has been backported to this version.
So to recap we recommended:
1) Trying the latest version of the kernel from the hardkernel.
2) Try building gator.ko with Mali support flags following the readme.
3) IF nethither work. Do you CPU analyis with gator.ko or importing the perf information into Streamline and then using the userspace to get the GPU counters seperately.
Hope this helps,Stephen