Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removing instrumentation tracing from migration example
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 12 Apr 2010 14:46:56 +0000 (14:46 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 12 Apr 2010 14:46:56 +0000 (14:46 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7535 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/migration/migration.c

index 44de664..7483953 100644 (file)
@@ -16,7 +16,6 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
 /** The guy we will move from host to host. It move alone and then is moved by policeman back  */
 static int emigrant(int argc, char *argv[])
 {
 /** The guy we will move from host to host. It move alone and then is moved by policeman back  */
 static int emigrant(int argc, char *argv[])
 {
-  TRACE_msg_set_process_category (MSG_process_self(), "emigrant");
   m_task_t task;
   INFO0
     ("I'll look for a new job on another machine where the grass is greener.");
   m_task_t task;
   INFO0
     ("I'll look for a new job on another machine where the grass is greener.");
@@ -49,9 +48,6 @@ int main(int argc, char *argv[])
 {
   MSG_error_t res = MSG_OK;
 
 {
   MSG_error_t res = MSG_OK;
 
-  TRACE_start_with_mask ("zmsg_test.trace", TRACE_PLATFORM|TRACE_PROCESS);
-  TRACE_category ("emigrant");
-
   /* Argument checking */
   MSG_global_init(&argc, argv);
   if (argc < 3) {
   /* Argument checking */
   MSG_global_init(&argc, argv);
   if (argc < 3) {
@@ -74,8 +70,6 @@ int main(int argc, char *argv[])
   if (res == MSG_OK)
     res = MSG_clean();
 
   if (res == MSG_OK)
     res = MSG_clean();
 
-  TRACE_end ();
-
   if (res == MSG_OK)
     return 0;
   else
   if (res == MSG_OK)
     return 0;
   else