fixed a bug in adding backward deps in AMPI_BREAK
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 7 Jun 2009 12:44:39 +0000 (12:44 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 7 Jun 2009 12:44:39 +0000 (12:44 +0000)
src/ck-perf/trace-bluegene.h

index ade20417a0433476492b7563d25ab0d0eba4a870..2c0a3eb38e42657cb456f2d86d7cc39ffe196cec 100644 (file)
@@ -94,7 +94,7 @@ extern int traceBluegeneLinked;
        TRACE_BG_AMPI_SUSPEND();        \
         TRACE_BG_AMPI_START(t, str);    \
         for(int i=0;i<count;i++) {      \
-                _TRACE_BG_ADD_BACKWARD_DEP(event);      \
+                _TRACE_BG_ADD_BACKWARD_DEP(((void**)event)[i]);      \
         }      \
         _TRACE_BG_ADD_BACKWARD_DEP(curLog);      \
        }