projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added comments
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
contextmacros.h
diff --git
a/ltt/branches/poly/lttv/lttv/contextmacros.h
b/ltt/branches/poly/lttv/lttv/contextmacros.h
index 84a8e7d0bb18a19ba04adcd4572d952b88d1887a..b6276e983691b0ff0c98e9ec34fc7b3e53a14947 100644
(file)
--- 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)
#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
*
/* LTTV_TRACE_CONTEXT_GET_TRACE_STATE
*
@@
-211,7
+220,7
@@
*
* NOTE : use g_quark_to_string to convert a GQuark into a static char *
*/
*
* NOTE : use g_quark_to_string to convert a GQuark into a static char *
*/
-#define LTTV_TRACE_STATE_GET_
EVENTTYPE
_NAME(tse, syscall_number)\
+#define LTTV_TRACE_STATE_GET_
SYSCALL
_NAME(tse, syscall_number)\
(tse->syscall_names[syscall_number])
/* LTTV_TRACE_STATE_GET_TRAP_NAME
(tse->syscall_names[syscall_number])
/* LTTV_TRACE_STATE_GET_TRAP_NAME
@@
-233,7
+242,7
@@
*
* NOTE : use g_quark_to_string to convert a GQuark into a static char *
*/
*
* NOTE : use g_quark_to_string to convert a GQuark into a static char *
*/
-#define LTTV_TRACE_STATE_GET_
TRAP
_NAME(tse, irq_number)\
+#define LTTV_TRACE_STATE_GET_
IRQ
_NAME(tse, irq_number)\
(tse->irq_names[irq_number])
(tse->irq_names[irq_number])
@@
-337,7
+346,7
@@
* returns : (LttvExecutionState*)
*/
#define LTTV_PROCESS_STATE_GET_NESTED_EXECUTION_STATE(pse, num_nest)\
* returns : (LttvExecutionState*)
*/
#define LTTV_PROCESS_STATE_GET_NESTED_EXECUTION_STATE(pse, num_nest)\
-
((LttvExecutionState*)pse->execution_stack[num_nest]
)
+
(&g_array_index(pse->execution_stack,LttvExecutionState,num_nest)
)
/* LTTV_PROCESS_STATE_GET_NUM_NESTED_EXECUTION_STATES
/* LTTV_PROCESS_STATE_GET_NUM_NESTED_EXECUTION_STATES
This page took
0.023866 seconds
and
4
git commands to generate.