Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
RTLA Support on Torizon RT Kernel
Thank you for your detailed question about using RTLA on Torizon OS with PREEMPT_RT patches on your SMARC iMX95 module.
Current State of PREEMPT_RT Support
According to the documentation, Toradex provides PREEMPT_RT kernel support in an experimental state(1). The BSP Layers and Torizon OS distributions with the PREEMPT_RT patch haven’t been fully validated by Toradex - only smoke tests and cyclictest have been run to verify that the system boots properly and the PREEMPT_RT patches work under stressful conditions(1).
Toradex explicitly states: “We don’t guarantee any functionality and bug fixes” for PREEMPT_RT BSPs and images(1). Any tuning, additional kernel configuration, and validation of RT performance must be done at your discretion(1).
Available Torizon RT Distributions
For the SMARC iMX95, Torizon OS 7.x.y provides the torizon-rt distribution, which uses the downstream kernel from the SoC vendor with full preemption and the Linux PREEMPT_RT patch(2). However, there is no mention in the documentation of pre-configured kernels with the CONFIG_TIMERLAT_TRACER, CONFIG_OSNOISE_TRACER, or CONFIG_HWLAT_TRACER options enabled.
Building a Custom Kernel with RTLA Support
To enable RTLA support, you would need to build a custom Torizon OS image with the required kernel configuration options enabled. You can do this by:
- Building Torizon OS from source using Yocto Project/OpenEmbedded(2)
- Selecting the
torizon-rt distribution for your SMARC iMX95 (MACHINE = toradex-smarc-imx95)(2)
- Modifying the kernel configuration to enable the tracer options you need
The documentation provides guidance on building external kernel modules(3) and customizing kernel arguments(4), which demonstrates the general approach to kernel customization in Torizon OS.
Your Docker Container Approach
Your approach of running RTLA in a privileged Docker container with SYS_ADMIN and SYS_RESOURCE capabilities and a bind mount for /sys/kernel/tracing is reasonable, assuming the kernel tracers are available. However, without the necessary kernel config options enabled, the tracers won’t be available regardless of how you run the userspace tools.
Recommendation
Since the standard Torizon RT images don’t include these tracer configurations, and given that PREEMPT_RT support is experimental, I recommend:
- Building a custom Torizon OS image from source with the required kernel configuration options enabled
- Sharing your use case on the Toradex Community so Toradex can better understand customer needs for RT analysis tools
Best regards,
Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.