Instrumentation and sampling strategies for cooperative concurrency bug isolation | Synapse