X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd33e946a7ea1e4e00053ff43475566229f5c40a..c619e9d16e3061f1d05b187d80bc65eb578fb868:/src/instr/instr_paje_trace.cpp diff --git a/src/instr/instr_paje_trace.cpp b/src/instr/instr_paje_trace.cpp index 49aa668d92..818df485f2 100644 --- a/src/instr/instr_paje_trace.cpp +++ b/src/instr/instr_paje_trace.cpp @@ -15,7 +15,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_trace, instr, "tracing event system") extern std::ofstream tracing_file; -std::vector buffer; +static std::vector buffer; void dump_comment(std::string comment) { @@ -85,11 +85,6 @@ static void buffer_debug(std::vector* buf) /* internal do the instrumentation module */ void simgrid::instr::PajeEvent::insert_into_buffer() { - if (not TRACE_buffer()) { - print(); - delete this; - return; - } buffer_debug(&buffer); XBT_DEBUG("%s: insert event_type=%u, timestamp=%f, buffersize=%zu)", __func__, eventType_, timestamp_, buffer.size());