add get index for tracecontext
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 22 Nov 2004 19:34:43 +0000 (19:34 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 22 Nov 2004 19:34:43 +0000 (19:34 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@840 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/contextmacros.h

index 84a8e7d0bb18a19ba04adcd4572d952b88d1887a..c099ec4dbc50baf22814d88fda0f391cdb95c808 100644 (file)
 #define LTTV_TRACE_CONTEXT_GET_TRACESET_CONTEXT(tc)\
             (tc->ts_context)
 
+/* LTTV_TRACE_CONTEXT_GET_TRACE_INDEX
+ *
+ * Input : LttvTraceContext *tc
+ * returns : (guint)      trace context index in its traceset context.
+ */
+#define LTTV_TRACE_CONTEXT_GET_TRACE_INDEX(tc)\
+            (tc->index)
+
+
 
 /* LTTV_TRACE_CONTEXT_GET_TRACE_STATE
  *
This page took 0.024395 seconds and 4 git commands to generate.