Trying to detect SMIs latency on STM32MP157D-DK1
Hey, I’m working with an STM32MP157D-DK1, I’m trying to trace for System Management Interrupts, to check how they affect the system.
The following attempt was made to detect the latency of SMIs occurring on the system:
# mount -t debugfs debugfs /sys/kernel/debug
# mount -t tracefs nodev /sys/kernel/tracing
# cd /sys/kernel/tracing
# cat hwlat_detector/window
1000000
# cat hwlat_detector/width
900000
# cat tracing_thresh
10
# cat tracing_max_latency
0
# cat tracing_cpumask
3
# cat hwlat_detector/mode
none [round-robin] per-cpu
# cat tracing_on
1
# cat current_tracer
nop
# echo hwlat > current_tracer
# sleep 1800
# cat trace
# tracer: hwlat
#
# entries-in-buffer/entries-written: 0/0 #P:2
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
# TASK-PID CPU# ||||| TIMESTAMP FUNCTION
# | | | ||||| | |
After a half hour sleep, it’s unclear why `trace` remains empty, and no iterations are shown detecting latencies.
Does the system not have SMIs at all? Or is there something wrong with what I’m doing?
Kind regards
