add instrumentation for JNI