- std::string container_name(get_container()->get_name());
- stream_ << stoi(container_name.erase(0, 5)) - 1 << " " << extra_->print();
+ container_name=std::to_string(stoi(container_name.erase(0, 5)) - 1);
+ }
+#if HAVE_SMPI
+ if (simgrid::config::get_value<bool>("smpi/trace-call-location")) {
+ stream_ << container_name << " location " << filename << " " << linenumber << std::endl ;