add instrumentation patches