X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.c;h=e6fb8fdfeaa46e27ae8f02c10ab8a13fa247bb9d;hb=b0b1c1ddd9509b75d82fc5b9ab8768018b0db647;hp=3a72ef8ca6e6413272e4f008a67c1185dcbe769a;hpb=e594b7fd8c889cf1d5943849e0d80adcd98c6663;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index 3a72ef8c..e6fb8fdf 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -968,13 +968,15 @@ struct marker_info *lttv_trace_hook_get_marker(LttTrace *t, LttvTraceHook *th) return marker_get_info_from_id(t, th->id); } - -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) { struct marker_info *info; guint16 marker_id; int init_array_size; + GQuark marker_name; + + marker_name = lttv_merge_facility_event_name(facility_name, event_name); info = marker_get_info_from_name(t, marker_name); if(unlikely(info == NULL)) {