Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] removing unused code
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Dec 2010 16:33:26 +0000 (16:33 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Dec 2010 16:33:26 +0000 (16:33 +0000)
details:
- these functions were used to create a hierarchy of msg/simix/surf tasks/actions
- such functionality was replaced by the categorized resource utilization tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8903 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/general.c
src/instr/private.h

index 85c7d52..fd65abe 100644 (file)
@@ -9,39 +9,6 @@
 
 #ifdef HAVE_TRACING
 
-char *TRACE_paje_msg_container(m_task_t task, char *host, char *output,
-                               int len)
-{
-  if (output) {
-    snprintf(output, len, "msg-%p-%s-%lld", task, host, task->counter);
-    return output;
-  } else {
-    return NULL;
-  }
-}
-
-char *TRACE_paje_smx_container(smx_action_t action, int seqnumber,
-                               char *host, char *output, int len)
-{
-  if (output) {
-    snprintf(output, len, "smx-%p-%d", action, seqnumber);
-    return output;
-  } else {
-    return NULL;
-  }
-}
-
-char *TRACE_paje_surf_container(void *action, int seqnumber, char *output,
-                                int len)
-{
-  if (output) {
-    snprintf(output, len, "surf-%p-%d", action, seqnumber);
-    return output;
-  } else {
-    return NULL;
-  }
-}
-
 char *TRACE_host_container(m_host_t host, char *output, int len)
 {
   if (output) {
index 5c29488..b216175 100644 (file)
@@ -75,12 +75,6 @@ void pajeNewEvent(double time, const char *entityType,
                   const char *container, const char *value);
 
 /* from general.c */
-char *TRACE_paje_msg_container(m_task_t task, char *host, char *output,
-                               int len);
-char *TRACE_paje_smx_container(smx_action_t action, int seqnumber,
-                               char *host, char *output, int len);
-char *TRACE_paje_surf_container(void *action, int seqnumber, char *output,
-                                int len);
 char *TRACE_host_container(m_host_t host, char *output, int len);
 char *TRACE_task_container(m_task_t task, char *output, int len);
 char *TRACE_process_container(m_process_t process, char *output, int len);