X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de190af4974a9ed57a52e649e5cbe0ac83512acb..83a986331633ba19391ce14e6605a5b423311ad7:/src/instr/instr_paje_events.cpp diff --git a/src/instr/instr_paje_events.cpp b/src/instr/instr_paje_events.cpp index a9abe0e473..6373f40d06 100644 --- a/src/instr/instr_paje_events.cpp +++ b/src/instr/instr_paje_events.cpp @@ -3,8 +3,6 @@ /* 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 - #include "src/instr/instr_private.hpp" #include "src/instr/instr_smpi.hpp" #include "src/smpi/include/private.hpp" @@ -32,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 (simgrid::config::get_config("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; @@ -87,7 +85,7 @@ void StateEvent::print() stream_ << " " << ((extra_ != nullptr) ? extra_->display_size() : 0); #if HAVE_SMPI - if (simgrid::config::get_config("smpi/trace-call-location")) { + if (simgrid::config::get_value("smpi/trace-call-location")) { stream_ << " \"" << filename << "\" " << linenumber; } #endif