cancel
Showing results for 
Search instead for 
Did you mean: 

perf list is not showing stm32_ddr_pmu

RajeenaLalu
Associate

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?

 

 

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @RajeenaLalu 

Can you please specify platform and software version used here ? 

Thanks

Olivier 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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"