瀏覽代碼

Use the proper arguments in the FxT even to find the name of the codelet

Cédric Augonnet 14 年之前
父節點
當前提交
2a2eaf9b5b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/debug/traces/starpu_fxt.c

+ 2 - 2
src/debug/traces/starpu_fxt.c

@@ -329,8 +329,8 @@ static void handle_start_codelet_body(struct fxt_ev_64 *ev, struct starpu_fxt_op
 
 	char *prefix = options->file_prefix;
 
-	unsigned long has_name = ev->param[4];
-	char *name = has_name?(char *)&ev->param[5]:"unknown";
+	unsigned long has_name = ev->param[2];
+	char *name = has_name?(char *)&ev->param[3]:"unknown";
 
 	snprintf(last_codelet_symbol[worker], 128, "%s", name);