Hacker GitHub

← All repos

janestreet/magic-trace

View on GitHub ↗ ★ 6,345 OCaml

magic-trace collects and displays high-resolution traces of what a process is doing

16 mentions on Hacker News by 11 people: 1 story, 15 comments · first 2022-02-05 · latest 2025-07-27

Mentions per year 16 mentions · busiest year 2022 (13)
20082026
  1. …(2024) [3] > [not answered] Is Intel-PT over-engineered and not really needed in practice? [1] https://github.com/janestreet/magic-trace/wiki/How-could-mag... [2] https://community.amd.com/t5/pc-processors/amd-ipt-intelpt-i... [3]…
    comment by kvemkon · 2025-07-27 · in Test Results for AMD Zen 5
  2. tbh I find magic trace to be more useful https://github.com/janestreet/magic-trace
    comment by petermcneeley · 2025-05-01 · in Doom GPU Flame Graphs
  3. I really like magic-trace [0]. https://github.com/janestreet/magic-trace Not that the exact tracing relies on Intel PT - support for AMD was added recently but uses perf so suffers from the same sampling/skew issues, but is still very…
    comment by charleshn · 2024-01-16 · in When Optimising Code, Measure
  4. …handling nanosecond timestamps in flamegraphs seems to break most tools due to float precision. (1) https://github.com/janestreet/magic-trace
  5. …and Intel to make Processor Trace a more popular and easier to use capability. It's unfortunate how https://github.com/janestreet/magic-trace and PMUs in general can't be used by lots of people using cloud VMs.
    comment by trishume · 2022-05-02 · in Brendan at Intel.com
  6. …front and center, and wrote up a bit more detail about where that comes from in a new wiki page: https://github.com/janestreet/magic-trace/wiki/Overhead We'll think about adding flame graphs. We unfortunately have little experience writing…
  7. Looks like you can use magic-trace with a perfetto based UI. https://github.com/janestreet/magic-trace
    comment by sterlinm · 2022-04-23 · in Memray: a memory profiler for Python
  8. …Skylake or later works better. We go into more detail about what platforms we support and why in https://github.com/janestreet/magic-trace/wiki/Supported-pla...
  9. Absolutely, check out https://github.com/janestreet/magic-trace#privacy-policy and https://github.com/janestreet/magic-trace/wiki/Setting-up-a-... . With a bit of extra configuration, magic-trace can host its own UI locally. You just need…
  10. …performance problems in it and its dependencies :) - https://github.com/let-def/owee/issues/23 - https://github.com/janestreet/magic-trace/issues/93
  11. Apparently it works with virtualization at least with KVM according to https://github.com/janestreet/magic-trace/wiki/Supported-pla... & https://github.com/janestreet/magic-trace/wiki/How-could-mag... ...
  12. They mention that in the privacy section: https://github.com/janestreet/magic-trace#privacy-policy
  13. You may also be interested in this wiki page: < https://github.com/janestreet/magic-trace/wiki/Supported-pla... > Intel PT has a bunch of rough edges that we've tried to paper over in magic-trace, but the gritty caveats are documented in…
  14. We have a bit more color on compatibility in general up on < https://github.com/janestreet/magic-trace/wiki/How-could-mag... > for those interested.
  15. ▲ 831
    Magic-trace – High-resolution traces of what a process is doing
    story by cgaebel · 2022-04-22 · 140 comments
  16. …into them. Xcode for Mac, Visual Studio 2022 for Windows... Shrugs for Linux. Maybe magic trace? https://github.com/janestreet/magic-trace