瀏覽代碼

Skip the {start,stop} progression events. They are otherwise called so often that they cause FxT to
fail and make the overall trace unreadable.

Cédric Augonnet 14 年之前
父節點
當前提交
a4250148e4
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/common/fxt.h

+ 6 - 2
src/common/fxt.h

@@ -287,11 +287,15 @@ do {										\
 #define STARPU_TRACE_END_MEMRECLAIM(memnode)		\
 	FUT_DO_PROBE2(STARPU_FUT_END_MEMRECLAIM, memnode, syscall(SYS_gettid));
 	
+/* We skip these events becasue they are called so often that they cause FxT to
+ * fail and make the overall trace unreadable anyway. */
 #define STARPU_TRACE_START_PROGRESS(memnode)		\
-	FUT_DO_PROBE2(STARPU_FUT_START_PROGRESS, memnode, syscall(SYS_gettid));
+	do {} while (0);
+//	FUT_DO_PROBE2(STARPU_FUT_START_PROGRESS, memnode, syscall(SYS_gettid));
 
 #define STARPU_TRACE_END_PROGRESS(memnode)		\
-	FUT_DO_PROBE2(STARPU_FUT_END_PROGRESS, memnode, syscall(SYS_gettid));
+	do {} while (0);
+	//FUT_DO_PROBE2(STARPU_FUT_END_PROGRESS, memnode, syscall(SYS_gettid));
 	
 #define STARPU_TRACE_USER_EVENT(code)			\
 	FUT_DO_PROBE2(STARPU_FUT_USER_EVENT, code, syscall(SYS_gettid));