assign charm_ep in beginExecute
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 30 Sep 2008 15:42:33 +0000 (15:42 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 30 Sep 2008 15:42:33 +0000 (15:42 +0000)
src/ck-perf/trace-bluegene.C
src/ck-perf/tracef.C

index e51acf06a6ce1dc9f596c6e6b021bd81debb83aa..0d3982433112060779f56bc9a55c03fae350f86e 100644 (file)
@@ -151,6 +151,7 @@ void TraceBluegene::beginExecute(int event,int msgType,int ep,int srcPe, int mle
   else
     return;
   log->setObjId(idx);
+  log->setCharmEP(ep);
 }
 
 void TraceBluegene::getForwardDep(void* log, void** fDepPtr){
index cf6c5575a4cf6637ee4fbcab602aa5460bcc6f65..ab96f810eac10f1fd6e4d00610a83f09adc1c2be 100644 (file)
@@ -94,7 +94,7 @@ void ftraceRegisterFunc(char *name,int *outIdx,int lenName){
 }
 
 void ftraceBeginFunc(int *idx){
-       traceBeginFuncIndexProj(*idx,"FORTRAN",0);
+       traceBeginFuncIndexProj(*idx,(char*)"FORTRAN",0);
 }
 
 void ftraceEndFunc(int *idx){