From d39076aec873d85abcf3664a0d30d993eedd5b28 Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Mon, 13 Aug 2012 16:09:14 -0400 Subject: [PATCH] Fix priority for controlflow events Signed-off-by: Yannick Brosseau --- lttv/modules/gui/controlflow/drawing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5