* @return The widget created.
*/
GtkWidget *
-h_guicontrolflow(Tab *tab, LttvTracesetSelector * s, char * key)
+h_guicontrolflow(Tab *tab)
{
- g_info("h_guicontrolflow, %p, %p, %s", tab, s, key);
+ g_info("h_guicontrolflow, %p", tab);
ControlFlowData *control_flow_data = guicontrolflow() ;
control_flow_data->tab = tab;
}
}
}
+ } else if(strcmp(
+ ltt_eventtype_name(ltt_event_eventtype(e)),"process") == 0) {
+ /* We are in a fork or exit event */
+
+
}
width,
&hashed_process_data_in->x);
}
+ } else if(strcmp(
+ ltt_eventtype_name(ltt_event_eventtype(e)),"process") == 0) {
+ /* We are in a fork or exit event */
+
+
}
+
return 0;
Drawing_t *drawing = control_flow_data->drawing;
GtkWidget *widget = drawing->drawing_area;
- drawing->damage_begin = 0;
- drawing->damage_end = drawing->width;
drawing_clear(control_flow_data->drawing);
processlist_clear(control_flow_data->process_list);
+ redraw_notify(control_flow_data, NULL);
+ request_background_data(control_flow_data);
+#if 0
+ drawing->damage_begin = 0;
+ drawing->damage_end = drawing->width;
if(drawing->damage_begin < drawing->damage_end)
{
drawing_data_request(drawing,
0,0,
drawing->width,
drawing->height);
-
- request_background_data(control_flow_data);
+#endif //0
return FALSE;
}
*
* - For each CPU of the trace
* - Search in trace states by PID and CPU key
- * - For each ProcessState found
- * - If state is not LTTV_STATE_WAIT
- * - Then this process state is the current one for this PID.
- * - Stop search.
* - If no ProcessState found, return NULL.
- * - If all ProcessState were in LTTV_STATE_WAIT state, return one of
- * them arbitrarily.
- * Than means state is LTTV_STATE_WAIT, CPU unknown.
*/
static LttvProcessState *find_process(LttvTraceState *tstate, guint pid)
{
LttvProcessState *state = lttv_state_find_process_from_trace(tstate,
cpu_name,
pid);
-
if(state != NULL) {
real_state = state;
- if(state->state->s != LTTV_STATE_WAIT)
- break;
+ break;
}
}
return real_state;