janestreet/magic-trace
Summary
Magic-trace is a lightweight, low-overhead tracing tool that uses Intel Processor Trace to collect and display high-resolution control-flow traces for a running process. It provides an interactive timeline for debugging performance issues, can attach to a running process or snapshot at a chosen function, and emphasizes zero-code instrumentation and local analysis. The project is open-source, with a browser-based UI, documentation, and community contributions.