janestreet / magic-trace

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

Handle tsx transactions #308

Closed bnigito closed 1 month ago

bnigito commented 1 month ago

Add limited support for handling Intel's TSX (Transactional Synchronization Extensions), specifically Restricted Transactional Memory (RTM) where aborted transactions were not properly handled.

This also makes a minor change which corrects error printing, where a flush was intended (%!) but the % accidentally omitted.