tsan: add stats and per-cpu struct
Merge tsan into tsan-xairy