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

Why I only have limited GPU counters from streamline

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.

streamline_countermissing.png

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?

Parents
  • Hello Peter,

    I use this command to compile gator.ko :

    make -C ~/.../odroidxu3-3.10.y/ M=`pwd` ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -modules GATOR_WITH_MALI_SUPPORT=MALI_MIDGARD MALI_DIR_MIDGARD=".../odroidxu3-3.10.y/drivers/gpu/arm/midgard"

    But I received the following errors from dmesg

    mali 11800000.mali: Continuing without Mali clock control

    mali 11800000.mali: GPU identified as 0x0620 r0p1 status 0

    mali 11800000.mali: Couldn't initialize devfreq

    mali 11800000.mali: Failed kbase_common_device_init

    I am wondering if my mali driver is correctly compiled? Therefore the gator can not collect information from it?

    Thanks.

Reply
  • Hello Peter,

    I use this command to compile gator.ko :

    make -C ~/.../odroidxu3-3.10.y/ M=`pwd` ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -modules GATOR_WITH_MALI_SUPPORT=MALI_MIDGARD MALI_DIR_MIDGARD=".../odroidxu3-3.10.y/drivers/gpu/arm/midgard"

    But I received the following errors from dmesg

    mali 11800000.mali: Continuing without Mali clock control

    mali 11800000.mali: GPU identified as 0x0620 r0p1 status 0

    mali 11800000.mali: Couldn't initialize devfreq

    mali 11800000.mali: Failed kbase_common_device_init

    I am wondering if my mali driver is correctly compiled? Therefore the gator can not collect information from it?

    Thanks.

Children