I would like to use steamline DS5 to collect GPU information from odroid XU4. however :
many GPU counters are missing.
I used this kernel source :GitHub - hardkernel/linux at odroidc-3.10.y . It is version Linux odroid 3.10.103. My DS5 version is DS-5 CE_5.25.0.
I have enabled all the configurations required:
- General Setup
- Kernel Performance Events And Counters
- [*] Kernel performance events and counters (enables CONFIG_PERF_EVENTS)
- [*] Profiling Support (enables CONFIG_PROFILING)
- [*] Enable loadable module support (enables CONFIG_MODULES, needed unless the gator driver is built into the kernel)
- [*] Module unloading (enables MODULE_UNLOAD)
- Kernel Features
- [*] High Resolution Timer Support (enables CONFIG_HIGH_RES_TIMERS)
- [*] Use local timer interrupts (only required for SMP and for version before Linux 3.12, enables CONFIG_LOCAL_TIMERS)
- [*] Enable hardware performance counter support for perf events (enables CONFIG_HW_PERF_EVENTS)
- CPU Power Management
- CPU Frequency scaling
- [*] CPU Frequency scaling (enables CONFIG_CPU_FREQ)
- Device Drivers
- Graphics support
- ARM GPU Configuration
- Mali Midgard series support
- [*] Streamline Debug support (enables CONFIG_MALI_GATOR_SUPPORT needed as part of Mali Midgard support)
- Kernel hacking
- [*] Compile the kernel with debug info (optional, enables CONFIG_DEBUG_INFO)
- [*] Tracers
- [*] Trace process context switches and events (#)
The kernel space gator is compiled and inserted.
What is wrong?
Thanks Peter,
1. I used this kernel source GitHub - hardkernel/linux at odroidc-3.10.y
and I follow this instruction to compile and kernel and modules : http://odroid.com/dokuwiki/doku.php?id=en:xu3_building_kernel
en:xu3_building_kernel [Odroid Wiki]
The mali driver is built into the kernel. Here is the mali entry from my kernel built in list modules.builtin:
kernel/drivers/gpu/arm/midgard/mali_kbase.ko
Why the mali driver is still not initialized correctly?
2. So in the streamline file README.md:
<<<<___To add the corresponding support to Mali___
<<<< Userspace (scons) needs gator=1
I am not sure about what this means. I do not know much about scons, how can I enable gator=1?
Many thanks.