From: compudj Date: Mon, 22 Nov 2004 19:34:43 +0000 (+0000) Subject: add get index for tracecontext X-Git-Tag: v0.12.20~2649 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=68f6d57ac64e36cd8555daae54d5f0f03aa563de;p=lttv.git add get index for tracecontext git-svn-id: http://ltt.polymtl.ca/svn@840 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/contextmacros.h b/ltt/branches/poly/lttv/lttv/contextmacros.h index 84a8e7d0..c099ec4d 100644 --- a/ltt/branches/poly/lttv/lttv/contextmacros.h +++ b/ltt/branches/poly/lttv/lttv/contextmacros.h @@ -64,6 +64,15 @@ #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 *