if(!lttv_trace_find_hook(tcs->parent.t,
LTT_EVENT_SYSCALL_ENTRY,
if(!lttv_trace_find_hook(tcs->parent.t,
LTT_EVENT_SYSCALL_ENTRY,
- LTT_FIELD_SYSCALL_ID, 0, 0,
- NULL, NULL, &th)) {
+ FIELD_ARRAY(LTT_FIELD_SYSCALL_ID),
+ NULL, NULL)) {
// th = lttv_trace_hook_get_first(&th);
//
// th = lttv_trace_hook_get_first(&th);
//
gpointer hook_data;
} LttvTraceHook;
gpointer hook_data;
} LttvTraceHook;
-#define FIELD_ARRAY(val) ({ (val), 0 })
+#define FIELD_ARRAY(val) ((GQuark[]){ (val), 0 })
/* Get the head of marker list correcponding to the given trace hook.
*/
/* Get the head of marker list correcponding to the given trace hook.
*/