Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RTOS introspection configurations

FreeRTOS introspection demo

configs/introspection/freertos.toml runs the committed FreeRTOS demonstration ELF. It includes DWARF debug information and is deliberately small enough to use as an interactive smoke/example rather than requiring an RTOS checkout.

From the repository root, after building patched QEMU and libfastdyn.so:

fastdyn run -c configs/introspection/freertos.toml \
  -o fastdyn-introspection-demo

The introspection plugin starts and opens its local monitor (normally http://127.0.0.1:8765/) because its TOML configuration enables it. Let it run briefly, then use Ctrl-C. Event data remains in fastdyn-introspection-demo/run-artifacts/introspection/.

The demo uses the generic per-CPU plugin configuration namespace. It does not add any introspection-specific QEMU plugin arguments.

Other supported RTOSes

The configs/introspection/ directory contains matching configurations for the other supported open-source RTOSes. Each uses a committed debug-symbol ELF under tests/binaries/rtos/, so it can run directly from the repository root.

RTOSExampleFixtureActivity port
ChibiOSconfigs/introspection/chibios.tomltests/binaries/rtos/chibios.elf8766
Zephyrconfigs/introspection/zephyr.tomltests/binaries/rtos/zephyr.elf (upstream synchronization sample; LM3S6965 SysTick activity)8767
ThreadXconfigs/introspection/threadx.tomltests/binaries/rtos/threadx.elf8768
RT-Threadconfigs/introspection/rtthread.tomltests/binaries/rtos/rtthread.elf8769
NuttXconfigs/introspection/nuttx.tomltests/binaries/rtos/nuttx.elf8770

For example, run the bundled Zephyr fixture directly:

fastdyn run -c configs/introspection/zephyr.toml -o fastdyn-zephyr-demo

Each config enables the module-owned browser view and opens it automatically.