2025-04-21 3:41 AM
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
We inserted the lkm module stm32_ddr_pmu.ko using modprobe. The lsmod lists the stm32_ddr_pmu
The zcat shows that CONFIG_STM32_DDR_PMU is enabled
perf list does not show the stm32_ddr_pmu
Can you please help us to find what are we missing here?
2025-04-22 5:34 AM
Hi @RajeenaLalu
Can you please specify platform and software version used here ?
Thanks
Olivier
2025-05-04 11:46 PM
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"