Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[trace] remove version, otherwise we'll have to updates tesh'es at every...
authorschnorr <Lucas.Schnorr@imag.fr>
Fri, 14 Sep 2012 08:07:17 +0000 (10:07 +0200)
committerschnorr <Lucas.Schnorr@imag.fr>
Fri, 14 Sep 2012 08:07:17 +0000 (10:07 +0200)
This reverts commit b4a1edc6568563a179fc1177a36421094d0bf6ac.

src/instr/instr_paje_trace.c

index 4af041e..7b5568d 100644 (file)
@@ -177,7 +177,7 @@ void TRACE_paje_start(void)
   XBT_DEBUG("Filename %s is open for writing", filename);
 
   /* output generator version */
   XBT_DEBUG("Filename %s is open for writing", filename);
 
   /* output generator version */
-  fprintf (tracing_file, "#SimGrid generates this trace file.\n");
+  fprintf (tracing_file, "#This file was generated using SimGrid-%d.%d.%d\n", SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR, SIMGRID_VERSION_PATCH);
 
   /* output one line comment */
   dump_comment (TRACE_get_comment());
 
   /* output one line comment */
   dump_comment (TRACE_get_comment());