Using the Linux Tracing...
summary
Practical steps for finding a missed real‑time deadline: run cyclictest at 200 μs, capture a trace when the cyclictest at 200 μs vs 5 ms worst‑case break triggers, inspect the self‑contained trace.dat produced by trace-cmd + trace.dat snapshots with KernelShark or Trace Compass, and use RTLA’s RTLA auto‑trace with backtrace to see kernel call stacks. BPFtrace kprobes (do_nanosleep, skid switch) and a simple culprit/victim table quickly point to a misbehaving driver busy‑looping with preemption/interrupts disabled.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 3:16Cyclic test for latency measurement
- 6:48Debugging latency with trace-cmd
- 12:25KernelShark and trace-compass analysis
- 15:16Provoking latency with misbehaving driver
- 16:40Culprit-victim table for latency root cause
- 19:27RTLA for real-time latency analysis
- 22:16BPF trace for latency debugging
- 29:39Q&A on sporadic latency issues
- 33:33Tracing overhead and embedded systems
- 37:24Cascaded latency and root cause analysis
