fix for first draw, but problematic with duplicate event
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Feb 2004 17:44:46 +0000 (17:44 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Feb 2004 17:44:46 +0000 (17:44 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@485 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c

index ea127809337cc748c5cad167a36c9a7521c819f9..ab2cf623ae52ca54c33ebc99a43aa1294c6f3780 100644 (file)
@@ -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));
 
This page took 0.025593 seconds and 4 git commands to generate.