X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dab00a856ac249805c336731e329bdf0fe1e1489..5b95be81cb098d4c0a5151409c41df417908b0dd:/src/instr/instr_paje_trace.cpp diff --git a/src/instr/instr_paje_trace.cpp b/src/instr/instr_paje_trace.cpp index 10a9c65da4..d106f33719 100644 --- a/src/instr/instr_paje_trace.cpp +++ b/src/instr/instr_paje_trace.cpp @@ -8,6 +8,7 @@ #include "xbt/virtu.h" /* sg_cmdline */ #include #include /** std::setprecision **/ +#include "simgrid/sg_config.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_trace, instr_trace, "tracing event system"); @@ -223,7 +224,7 @@ void print_pajeSetState(paje_event_t event) { print_default_pajeState_row(event); stream << " " << static_cast(event->data)->value->id; - if (true) { // If (sg_config("tracing/caller_location")) + if (xbt_cfg_get_boolean("smpi/trace-call-location")) { stream << " \"" << static_cast(event->data)->filename << "\" " << static_cast(event->data)->linenumber; } @@ -246,7 +247,7 @@ void print_pajePushState(paje_event_t event) { } } - if (true) { // If (sg_config("tracing/caller_location")) + if (xbt_cfg_get_boolean("smpi/trace-call-location")) { stream << " \"" << static_cast(event->data)->filename << "\" " << static_cast(event->data)->linenumber; }