X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b9945098e2ba4e7b639e0c2245835d44800c1b29..f9521627fe1cef73bb8eccd5b11735dcbd906dbd:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index dd19a66a5d..50d659ca40 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -18,8 +18,7 @@ #include "src/mc/mc_state.hpp" #endif -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc, - " Logging specific to MC record/replay facility"); +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc, "Logging specific to MC record/replay facility"); namespace simgrid { namespace mc { @@ -99,10 +98,8 @@ std::string traceToString(simgrid::mc::RecordTrace const& trace) void dumpRecordPath() { - if (MC_record_is_active()) { - RecordTrace trace = mc_model_checker->getChecker()->getRecordTrace(); - XBT_INFO("Path = %s", traceToString(trace).c_str()); - } + RecordTrace trace = mc_model_checker->getChecker()->get_record_trace(); + XBT_INFO("Path = %s", traceToString(trace).c_str()); } #endif