From: Yannick Brosseau Date: Wed, 15 Aug 2012 15:34:14 +0000 (-0400) Subject: Create a new hooks for the controlflow X-Git-Tag: v1.5-beta1~41 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=034fd175a92ebe36191141d936395f54d64eb363;p=lttv.git Create a new hooks for the controlflow Signed-off-by: Yannick Brosseau --- diff --git a/lttv/modules/gui/controlflow/drawing.c b/lttv/modules/gui/controlflow/drawing.c index c53f5f1a..ce70bc9f 100644 --- a/lttv/modules/gui/controlflow/drawing.c +++ b/lttv/modules/gui/controlflow/drawing.c @@ -165,9 +165,7 @@ void drawing_data_request(Drawing_t *drawing, control_flow_data); { - LttvHooks *event_hook; -//TODO "fdeslauriers : Is it the right way to get the hooks - july 11 2012" - event_hook = lttv_traceset_get_hooks(traceset); + LttvHooks *event_hook = lttv_hooks_new(); g_assert(event_hook); lttv_hooks_add(event_hook,before_execmode_hook , control_flow_data, LTTV_PRIO_STATE-5);