3 ms·
Needs a Skylake or later CPU, linuxers can cat /sys/devices/cpu/caps/pmu_name to find if they're invited to the party
by jjgreen 5y 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
- tbr1 5y agoOne 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.
- quasarj 5y agoThank you! I was really disappointed none of the readme actually said what the extension name was.....
- tbr1 5y agoYou may also be interested in this wiki page: <https://github.com/janestreet/magic-trace/wiki/Supported-platforms,-programming-languages,-and-runtimes 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.