Inspiration

QNX Neutrino RTOS 8.0 powers mission-critical automotive, medical, and robotics systems where a single 1 ms priority inversion or MsgSend() stall can break hard real-time determinism. Yet inspecting tracelogger/traceprinter dumps, pidin thread snapshots, and slog2info logs often requires launching heavy desktop IDEs manually—making rapid team triage and automated CI/CD determinism gating difficult.

What It Does

QNX PulseStudio is a zero-setup, cross-platform host developer tool + CI/CD real-time regression gate CLI + QNX 8.0 C target companion + 5-minute QEMU Codelab:

  • Authentic QNX 8.0 Diagnostic Parsers: Parses traceprinter (THREAD, COMM, INT, APS), pidin, and slog2info outputs 100% locally in the browser or Node.js CLI (zero telemetry leaves your workstation).
  • Automatic Priority Inversion Root-Cause Detector: Flags exact microsecond windows where high-priority RT threads (prio >= 20) block on SEND/REPLY/MUTEX while unrelated lower-priority threads hold the CPU, pinpointing the culprit thread and recommending QNX Priority Inheritance (_NTO_CHF_FIXED_PRIORITY off / PTHREAD_PRIO_INHERIT) and APS isolation fixes.
  • Client → Server IPC Latency Matrix & ISR / APS Monitors: Computes p50, p95, p99, and max µs for every MsgSend/MsgReply channel, flags >80 µs InterruptAttach ISR spikes (recommending InterruptAttachEvent IST offloading), and detects Adaptive Partitioning Scheduler (APS) budget overruns.
  • Interactive Microsecond Kernel Timeline UI: Multi-core thread-state Gantt chart with striped Priority Inversion alert zones, 3 built-in realistic QNX 8.0 scenarios (Automotive ADAS Braking Inversion, Surgical Robot 1 kHz Healthy RT, Autonomous Drone LiDAR ISR/APS Overload), plus instant custom trace import.
  • CI/CD Real-Time Regression Gate CLI (qnx-pulse check): Runs in GitHub Actions / GitLab CI (qnx-pulse check trace.txt --max-ipc-p99-us 500 --fail-on-inversion --fail-on-aps) and exits non-zero whenever a firmware build regresses determinism.
  • QNX 8.0 C Target Companion & 5-Minute QEMU Codelab: Ships ready-to-compile QNX SDP 8.0 C source (qnx-target/qnx_ipc_bench.c + Makefile for qcc x86_64 and aarch64le) demonstrating ChannelCreate, MsgSend/MsgReceive/MsgReply, _NTO_CHF_FIXED_PRIORITY, and TraceEvent(), paired with a hands-on step-by-step QEMU guide in CODELAB.md.

How We Built It

Built in TypeScript, React 19, Vite 6, esbuild, Vitest, and C11 (POSIX / QNX Neutrino <sys/neutrino.h>, <sys/trace.h>, <sys/slog2.h>). All parsers, priority-inversion detection, IPC percentile calculations, ISR tracking, and APS overrun detection are strictly typechecked and verified by automated unit tests.

What's Next for QNX PulseStudio

  • Direct binary .kev stream decoding alongside traceprinter text dumps.
  • Live SSH streaming mode (qnx-pulse live qnxuser@target) for continuous QNX 8.0 QEMU / Raspberry Pi 5 telemetry.

Built With

Share this project:

Updates

Submission history