Hacker News new | past | comments | ask | show | jobs | submit login

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.

I have similar issues with Plasma and definetly can say it is a graphics card/hardware problem which is intertwined with the graphics driver. Plasma is very heavy on graphics effects. You might want to change details (like having shadows or transparency) in the settings to see if it changes something.

Brendan Gregg has a lot of one-liners for recording perf data, however none of them give the "record everything and analyze it later" flexibility of ETW, as far as I can tell.

Perf also lacks a powerful UI like WPA. But, perf is pretty amazing in its own ways.

LatencyTOP might help you track down the cause.


Depending on your CPU, you might be able to use SATT: https://github.com/intel/satt

This looks great! Thanks for the hint!

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact