Hacker News new | ask | show | jobs
by jjgreen 1522 days ago
Needs a Skylake or later CPU, linuxers can

    cat /sys/devices/cpu/caps/pmu_name
to find if they're invited to the party
1 comments

One of the maintainers here -- it should work on Broadwell if you're not super keen on the tens-of-nanoseconds timing precision and are okay with microsecond precision (i.e. only want accurate callstacks),

  grep intel_pt /proc/cpuinfo
should do the trick.
Thank you! I was really disappointed none of the readme actually said what the extension name was.....
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 the wiki.