Skip to main content
Explorer
April 21, 2025
Question

perf list is not showing stm32_ddr_pmu

  • April 21, 2025
  • 2 replies
  • 500 views

We are following the steps mentioned in this link How to measure the DDR throughput - stm32mpu.However we are facing the below error while trying to use stm32_ddr_pmu

 

RajeenaLalu_0-1745231584289.jpeg

We inserted the lkm module stm32_ddr_pmu.ko using modprobe. The lsmod lists the stm32_ddr_pmu

RajeenaLalu_4-1745231960025.jpeg

 

The zcat shows that CONFIG_STM32_DDR_PMU is enabled

RajeenaLalu_2-1745231807572.jpeg

perf list does not show the stm32_ddr_pmu

RajeenaLalu_3-1745231888333.jpeg

 

Can you please help us to find what are we missing here?

 

 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    April 22, 2025

    Hi @RajeenaLalu 

    Can you please specify platform and software version used here ? 

    Thanks

    Olivier 

    Explorer
    May 5, 2025

    Hi Olivier ,

    Sorry for the late response. We are using  MPU STM32MP131CAG3T. Other details as below.

     

    # cat /proc/cpuinfo
    processor : 0
    model name : ARMv7 Processor rev 5 (v7l)
    BogoMIPS : 52.00
    Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xc07
    CPU revision : 5

    Hardware : STM32 (Device Tree Support)
    Revision : 0000


    # uname -a
    Linux buildroot 6.1.28 #1 SMP PREEMPT Fri Apr 18 09:04:36 UTC 2025 armv7l GNU/Linux

    # cat /etc/os-release
    NAME=Buildroot
    VERSION=2021.05-10169-gb885d5525a
    ID=buildroot
    VERSION_ID=2023.02.2
    PRETTY_NAME="Buildroot 2023.02.2"

    Explorer
    May 22, 2025

    Any update on this?