- //creating the graph structure
- xbt_graph_t graph = TRACE_platform_graph();
- if (graph == NULL){
- XBT_INFO ("%s expects --cfg=tracing:1", argv[0]);
- }else{
- TRACE_platform_graph_export_graphviz (graph, graphvizFile);
- XBT_INFO ("Output is in file %s", graphvizFile);
- }
- MSG_clean();
+ xbt_assert(status != 0, "%s expects --cfg=tracing:yes --cfg=tracing/platform:yes", argv[0]);
+ MSG_main(); /* useless, except for correctly cleaning memory */