- it already contains the (up to three) needed fields handles. */
-
-gint lttv_trace_find_hook(LttTrace *t, GQuark facility, GQuark event_type,
- GQuark field1, GQuark field2, GQuark field3, LttvHook h,
- gpointer hook_data, LttvTraceHook *th);
+ it already contains the (up to three) needed fields handles.
+ Returns an array of LttvTraceHook, or NULL on error.
+ */
+
+GArray *lttv_trace_find_hook(LttTrace *t, GQuark marker_name,
+ GQuark fields[], LttvHook h, gpointer hook_data);