From: Martin Quinson Date: Mon, 5 Sep 2016 14:16:43 +0000 (+0200) Subject: initialize the trace flags in S4U too X-Git-Tag: v3_14~419^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/72ed1b38e46ffbcc62803e699d9094a0d69252af initialize the trace flags in S4U too --- diff --git a/src/s4u/s4u_engine.cpp b/src/s4u/s4u_engine.cpp index 890ef245ce..4f3b10602a 100644 --- a/src/s4u/s4u_engine.cpp +++ b/src/s4u/s4u_engine.cpp @@ -5,6 +5,7 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include "instr/instr_interface.h" #include "simgrid/simix.h" #include "mc/mc.h" #include "simgrid/s4u/As.hpp" @@ -27,6 +28,7 @@ Engine::Engine(int *argc, char **argv) { xbt_assert(s4u::Engine::instance_ == nullptr, "It is currently forbidden to create more than one instance of s4u::Engine"); s4u::Engine::instance_ = this; + TRACE_global_init(argc, argv); SIMIX_global_init(argc, argv); }