janestreet / magic-trace

magic-trace collects and displays high-resolution traces of what a process is doing
https://magic-trace.org
MIT License
4.51k stars 87 forks source link

Support counter style graph for extra events #237

Open Lamoreauxaj opened 2 years ago

Lamoreauxaj commented 2 years ago

magic-trace will soon support you sampling additional events such as cache-misses. However it would be nice if there was an option to not just see them as arrows, but even perhaps have a graph (like counter tracks in perfetto) which would try to approximate the frequency of the event over time based on the samples. Depending on what one is looking for, this might be a better UX experience than an excessive amount of arrows for high frequency events.

tarun-t commented 5 months ago

Is there any update regarding this feature? What is currently the best way to look at events like cache-misses and branch mispredictions with magic-trace?