Add profiling of spinlocks