#include <lttv/attribute.h>
#include <lttv/hook.h>
#include <ltt/ltt.h>
-#include <ltt/markers.h>
+#include <ltt/marker.h>
/* This is the generic part of trace processing. All events within a
certain time interval are accessed and processing hooks are called for
gpointer hook_data;
} LttvTraceHook;
-/* Get the head of marker list correcponding to the given trace hook.
+/* Get the head of marker list corresponding to the given trace hook.
*/
struct marker_info *lttv_trace_hook_get_marker(LttTrace *t, LttvTraceHook *th);
Adds the hooks to the trace_hooks array.
*/
-int lttv_trace_find_hook(LttTrace *t, GQuark marker_name,
+int lttv_trace_find_hook(LttTrace *t, GQuark facility_name, GQuark event_name,
GQuark fields[], LttvHook h, gpointer hook_data, GArray **trace_hooks);
static inline struct marker_field *