Browse Source

debug/traces: add missing runtime events for trace.rec

Samuel Pitoiset 9 years ago
parent
commit
40f6dd5e1c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/debug/traces/starpu_fxt.c

+ 6 - 0
src/debug/traces/starpu_fxt.c

@@ -1747,9 +1747,15 @@ static void handle_task_submit_event(struct fxt_ev_64 *ev, struct starpu_fxt_opt
 	{
 		/* Normal worker */
 		if (eventstr)
+		{
 			thread_push_state(timestamp, prefix, tid, eventstr);
+			recfmt_thread_push_state(timestamp, tid, eventstr, "Runtime");
+		}
 		else
+		{
 			thread_pop_state(timestamp, prefix, tid);
+			recfmt_thread_pop_state(timestamp, tid);
+		}
 	}
 	else if (workerid == -2)
 	{