]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/surfxml_parseplatf.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mark some internal symbols as hidden on ELF in base
[simgrid.git] / src / surf / surfxml_parseplatf.c
index f8130cbeccc7efa2c26fc350376e7511b5868580..795615c02108466495725247769bc24af5b1a339 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2014. The SimGrid Team.
+/* Copyright (c) 2006-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -72,18 +72,15 @@ XBT_PUBLIC(void) gpu_register_callbacks(void){
 static int after_config_done;
 void parse_after_config() {
   if (!after_config_done) {
-    //
-    #ifdef HAVE_TRACING
-      TRACE_start();
-    #endif
+         TRACE_start();
 
     /* Register classical callbacks */
     storage_register_callbacks();
     routing_register_callbacks();
+    gpu_register_callbacks();
 
     /* ***************************************** */
     /* TUTORIAL: New TAG                         */
-    gpu_register_callbacks();
     /* ***************************************** */
     after_config_done = 1;
   }