X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b73420cb42656648ba26ee31bb6abfb66d990e88..83a986331633ba19391ce14e6605a5b423311ad7:/src/instr/instr_paje_events.cpp diff --git a/src/instr/instr_paje_events.cpp b/src/instr/instr_paje_events.cpp index 4aacda95af..6373f40d06 100644 --- a/src/instr/instr_paje_events.cpp +++ b/src/instr/instr_paje_events.cpp @@ -30,7 +30,7 @@ StateEvent::StateEvent(Container* container, Type* type, e_event_type event_type : PajeEvent::PajeEvent(container, type, SIMIX_get_clock(), event_type), value(value), extra_(extra) { #if HAVE_SMPI - if (xbt_cfg_get_boolean("smpi/trace-call-location")) { + if (simgrid::config::get_value("smpi/trace-call-location")) { smpi_trace_call_location_t* loc = smpi_trace_get_call_location(); filename = loc->filename; linenumber = loc->linenumber; @@ -85,7 +85,7 @@ void StateEvent::print() stream_ << " " << ((extra_ != nullptr) ? extra_->display_size() : 0); #if HAVE_SMPI - if (xbt_cfg_get_boolean("smpi/trace-call-location")) { + if (simgrid::config::get_value("smpi/trace-call-location")) { stream_ << " \"" << filename << "\" " << linenumber; } #endif