Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] protecting category field in process structure
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:45:18 +0000 (16:45 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:45:18 +0000 (16:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9207 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/msg/datatypes.h

index 84d956d..d9d271c 100644 (file)
@@ -79,7 +79,9 @@ typedef struct m_process {
   simdata_process_t simdata;
                                 /**< @brief simulator data */
   void *data;                   /**< @brief user data */
+#ifdef HAVE_TRACING
   char *category;               /* process category for instrumentation */
+#endif
 } s_m_process_t;
 /** @} */
 /** @brief Agent datatype