From: schnorr Date: Wed, 5 Jan 2011 18:09:00 +0000 (+0000) Subject: [trace] process category is deprecated (for now, at least) X-Git-Tag: v3.6_beta2~561 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f51c250f2f0b60093c4bd1acae068578a1bf078d [trace] process category is deprecated (for now, at least) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9367 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/tracing/procmig.c b/examples/msg/tracing/procmig.c index cffb528d22..d3e139cc0a 100644 --- a/examples/msg/tracing/procmig.c +++ b/examples/msg/tracing/procmig.c @@ -19,8 +19,6 @@ static int emigrant(int argc, char *argv[]) m_task_t task = NULL; char *destination = NULL; - INFO0("Setting process category"); - TRACE_msg_set_process_category(MSG_process_self(), "emigrant", "1 0 0"); MSG_process_sleep(2); while (1){ // I am an eternal emigrant @@ -41,8 +39,6 @@ static int master(int argc, char *argv[]) { m_task_t task = NULL; - TRACE_msg_set_process_category(MSG_process_self(), "master", "1 0 0"); - // I am the master of emigrant process, // I tell it where it must emigrate to. xbt_dynar_t destinations = xbt_dynar_new (sizeof(char*), xbt_free); diff --git a/examples/msg/tracing/volume.c b/examples/msg/tracing/volume.c index 2e1bee71cf..805225e5c3 100644 --- a/examples/msg/tracing/volume.c +++ b/examples/msg/tracing/volume.c @@ -23,9 +23,6 @@ MSG_error_t test_all(const char *platform_file, /** Emitter function */ int master(int argc, char *argv[]) { - //defining the category of the master process - TRACE_msg_set_process_category(MSG_process_self(), "master", "1 0 0"); - long number_of_tasks = atol(argv[1]); long slaves_count = atol(argv[4]); int p = 1000000000; @@ -59,9 +56,6 @@ int master(int argc, char *argv[]) /** Receiver function */ int slave(int argc, char *argv[]) { - //defining the category of this slave process - TRACE_msg_set_process_category(MSG_process_self(), "slave", "0 0 1"); - m_task_t task = NULL; int res;