1. A computer implemented method comprising: identifying a call of interest having an associated failure condition, wherein the call of interest includes one or more of a system call and a library call; identifying an invocation path associated with the call of interest, wherein the invocation path includes a Java boundary crossover method and a native method call to the call of interest, the Java boundary crossover method including a Java application programming interface (API) call to a Java native interface (JNI) call that invokes the native method call to the call of interest having the associated failure condition; detecting an execution of the crossover method including the Java API call to the JNI call that invokes the native method call to the call of interest having the associated failure condition; comparing an execution stack to the invocation path in response to detecting the execution of the crossover method to determine a match condition between the execution stack and the invocation path, wherein the execution stack includes a sequence of methods that form the entire execution stack and the invocation path includes a sequence of methods that form the entire invocation path; and setting a trace flag if the match condition is satisfied between the execution stack and the invocation path to output trace information that is associated with the call of interest, wherein the match condition is satisfied when the entire execution stack matches the entire invocation path, and wherein the trace flag corresponds to a thread associated with the execution of the crossover method and is set ensure that the trace information is specific to the thread.