Modifications for TAU tracing in the Charm++ framework.
[charm.git] / src / arch / origin-pthreads / machine.c
index c9b1008c9b089ce1a2b6affe074a3eb29426a89d..d715547737a7f42b2897a412196a26793e65914e 100644 (file)
@@ -183,7 +183,8 @@ void ConverseInit(int argc, char **argv, CmiStartFn fn, int usched, int initret)
     usrparam->argv = CmiCopyArgs(argv);
     usrparam->mype = i;
 
-    pthread_create(&aThread[i],(pthread_attr_t *)0,threadInit,(void *)usrparam);
+         printf("calling tau_pthread_create");
+    tau_pthread_create(&aThread[i],(pthread_attr_t *)0,threadInit,(void *)usrparam);
   }
   usrparam = (USER_PARAMETERS *) CmiAlloc(sizeof(USER_PARAMETERS));
   usrparam->argv = CmiCopyArgs(argv);