XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_trace, instr, "tracing event system");
-extern s_instr_trace_writer_t active_writer;
-
static std::stringstream stream;
FILE *tracing_file = nullptr;
/* The active set of functions for the selected trace format
* By default, they all do nothing, hence the print_NULL to avoid segfaults */
-s_instr_trace_writer_t active_writer = {&print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL,
- &print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL,
- &print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL, &print_NULL};
-
std::vector<PajeEvent*> buffer;
void buffer_debug(std::vector<PajeEvent*> *buf);
insert_into_buffer (this);
}
-
+EndLinkEvent::~EndLinkEvent()
+{
+ free(value);
+ free(key);
+}
void EndLinkEvent::print() {
if (instr_fmt_type == instr_fmt_paje) {
XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, (int)event_type, TRACE_precision(), timestamp);