projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
g_string_append fixups
[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 c099ec4dbc50baf22814d88fda0f391cdb95c808..b6276e983691b0ff0c98e9ec34fc7b3e53a14947 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/contextmacros.h
+++ b/
ltt/branches/poly/lttv/lttv/contextmacros.h
@@
-220,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
@@
-242,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])
@@
-346,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.022504 seconds
and
4
git commands to generate.