From: compudj Date: Wed, 4 Feb 2004 17:44:46 +0000 (+0000) Subject: fix for first draw, but problematic with duplicate event X-Git-Tag: v0.12.20~3004 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=87658614c9344960bd07578fab23ad2169abb637;p=lttv.git fix for first draw, but problematic with duplicate event git-svn-id: http://ltt.polymtl.ca/svn@485 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c index ea127809..ab2cf623 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -193,7 +193,8 @@ int draw_event_hook(void *hook_data, void *call_data) /* Find process pid_out in the list... */ - process_out = lttv_state_find_process_from_trace(ts, pid_out); + //process_out = lttv_state_find_process_from_trace(ts, pid_out); + process_out = lttv_state_find_process(tfs, pid_out); if(process_out == NULL) return 0; g_critical("out : %s",g_quark_to_string(process_out->state->s)); @@ -230,7 +231,8 @@ int draw_event_hook(void *hook_data, void *call_data) g_free(name); /* Find process pid_in in the list... */ - process_in = lttv_state_find_process_from_trace(ts, pid_in); + //process_in = lttv_state_find_process_from_trace(ts, pid_in); + process_in = lttv_state_find_process(tfs, pid_in); if(process_in == NULL) return 0; g_critical("in : %s",g_quark_to_string(process_in->state->s));