From: Yannick Brosseau Date: Mon, 13 Aug 2012 20:09:14 +0000 (-0400) Subject: Fix priority for controlflow events X-Git-Tag: v1.5-beta1~49 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d39076aec873d85abcf3664a0d30d993eedd5b28;p=lttv.git Fix priority for controlflow events Signed-off-by: Yannick Brosseau --- diff --git a/lttv/modules/gui/controlflow/drawing.c b/lttv/modules/gui/controlflow/drawing.c index e810c6c3..fd133383 100644 --- a/lttv/modules/gui/controlflow/drawing.c +++ b/lttv/modules/gui/controlflow/drawing.c @@ -170,7 +170,7 @@ void drawing_data_request(Drawing_t *drawing, event_hook = lttv_traceset_get_hooks(traceset); g_assert(event_hook); - lttv_hooks_add(event_hook,before_execmode_hook , control_flow_data, LTTV_PRIO_STATE); + lttv_hooks_add(event_hook,before_execmode_hook , control_flow_data, LTTV_PRIO_STATE-5); #ifdef BABEL_CLEANUP lttv_hooks_add(event_hook,syscall_exit , control_flow_data, LTTV_PRIO_STATE); lttv_hooks_add(event_hook,irq_entry , control_flow_data, LTTV_PRIO_STATE); @@ -179,7 +179,7 @@ void drawing_data_request(Drawing_t *drawing, lttv_hooks_add(event_hook,soft_irq_entry , control_flow_data, LTTV_PRIO_STATE); lttv_hooks_add(event_hook,soft_irq_exit , control_flow_data, LTTV_PRIO_STATE); #endif //babel_cleanup - lttv_hooks_add(event_hook,before_schedchange_hook , control_flow_data, LTTV_PRIO_STATE); + lttv_hooks_add(event_hook,before_schedchange_hook , control_flow_data, LTTV_PRIO_STATE-5); #ifdef BABEL_CLEANUP lttv_hooks_add(event_hook,sched_try_wakeup , control_flow_data, LTTV_PRIO_STATE); lttv_hooks_add(event_hook,process_exit , control_flow_data, LTTV_PRIO_STATE);