- //creating the graph structure
- xbt_graph_t graph = TRACE_platform_graph();
- if (graph == NULL){
- XBT_INFO ("%s expects --cfg=tracing:1", argv[0]);
- }else{
- xbt_graph_export_graphviz(graph, graphvizFile, &TRACE_node_name, NULL);
- 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 */