X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.c;h=ed775422c8c07aa5969bddec97124e420b21df11;hb=a17029f3de3777937d4f7b441c5d3ba7ca3d47e7;hp=506dae1cc279b23589de399a05ef7316e414283b;hpb=f61f4dca50e13aa52b1ca3941c8f420848f4353f;p=lttv.git diff --git a/lttv/modules/gui/controlflow/processlist.c b/lttv/modules/gui/controlflow/processlist.c index 506dae1c..ed775422 100644 --- a/lttv/modules/gui/controlflow/processlist.c +++ b/lttv/modules/gui/controlflow/processlist.c @@ -133,8 +133,10 @@ static gboolean process_list_equ_fct(gconstpointer a, gconstpointer b) ret = FALSE; if(likely((pa->pid == 0 && (pa->cpu != pb->cpu)))) ret = FALSE; - if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0)) - ret = FALSE; + //TODO ybrosseau 2012-09-18 Check if we want to reenable birth comparision + // We currently do not have valid birth info, so don't compare it + /* if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0)) + ret = FALSE;*/ if(unlikely(pa->trace_num != pb->trace_num)) ret = FALSE; @@ -152,9 +154,8 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data) (ControlFlowData*)g_object_get_data( G_OBJECT(widget), "control_flow_data"); - Drawing_t *drawing = control_flow_data->drawing; - unsigned int cell_height = - get_cell_height(GTK_TREE_VIEW(control_flow_data->process_list->process_list_widget)); + unsigned int cell_height = + get_cell_height(GTK_TREE_VIEW(control_flow_data->process_list->process_list_widget)); switch(event->direction) { case GDK_SCROLL_UP: @@ -168,7 +169,7 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data) default: g_error("should only scroll up and down."); } - return TRUE; + return TRUE; }