Any idea how to do something similiar on Linux? I'm using Plasma 5 on Arch Linux and from time to time I'm seeing mysterious hangs (seconds to minutes) on the Plasma UI - CPU profiling is probably useless and for me it looks like perf record is just way to broad and the hangs are not due to CPU churning but probably something else (scheduler or locks - I have no idea), I'm not a dev but it would be nice to be able to at least produce a proper bug report and searching the root cause.