add get index for tracecontext
[lttv.git] / 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.02495 seconds and 4 git commands to generate.