From bf6a75d25c9f251b1c9b154272272cf990076431 Mon Sep 17 00:00:00 2001 From: schnorr Date: Tue, 3 Apr 2012 10:51:19 +0200 Subject: [PATCH 1/1] [trace] avoid Paje inconsistencies by forcing the generation of a time-ordered trace file as output details: - this might come with a performance penalty. If so, set tracing/buffer to zero, and sort the trace afterward. --- src/instr/instr_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instr/instr_config.c b/src/instr/instr_config.c index ce36bb4a28..c9de3a36ad 100644 --- a/src/instr/instr_config.c +++ b/src/instr/instr_config.c @@ -264,7 +264,7 @@ void TRACE_global_init(int *argc, char **argv) NULL, NULL); /* tracing buffer */ - int default_buffer = 0; + int default_buffer = 1; xbt_cfg_register(&_surf_cfg_set, OPT_TRACING_BUFFER, "Buffer trace events to put them in temporal order.", xbt_cfgelm_int, &default_buffer, 0, 1, -- 2.20.1