On Fri, Sep 6, 2019 at 11:48 AM <Martin.Wirth@xxxxxx> wrote: > For the tracing, I at the moment have no idea how to set it up. I only did some > tracing which was triggered by cyclictest. But that won't help here... Modify your code to open up /sys/kernel/debug/tracing/tracing_on and write 0 to it when you detect a high latency event. I'd suggest opening up the file when the code starts and writing when the event happens, but opening and writing all at once would be fine. I've very successfully used that to catch events in the past. Austin