AC_PREREQ(2.57)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
#AC_WITH_LTDL # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.67-26102006)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.68-27102006)
AM_CONFIG_HEADER(config.h)
AM_PROG_LIBTOOL
else return se->op((gpointer)&state->state->s,v);
break;
case LTTV_FILTER_STATE_CPU:
- if(context == NULL) return TRUE;
+ if(state == NULL) return TRUE;
else {
- if(state == NULL) return TRUE;
- else return se->op((gpointer)&state->cpu,v);
+ return se->op((gpointer)&state->cpu,v);
}
break;
case LTTV_FILTER_EVENT_NAME:
LttTime evtime = closure_data->end_time;
+ gboolean dodraw = TRUE;
+
{
/* For the process */
/* First, check if the current process is in the state computation
if(filter != NULL && filter->head != NULL)
if(!lttv_filter_tree_parse(filter->head,NULL,NULL,
tc->t,NULL,process,tc))
- return FALSE;
+ dodraw = FALSE;
/* Only draw for processes that are currently in the trace states */
} else {
draw_context.drawinfo.start.x = hashed_process_data->x.middle;
/* Draw the line */
- PropertiesLine prop_line = prepare_s_e_line(process);
- draw_line((void*)&prop_line, (void*)&draw_context);
+ if(dodraw) {
+ PropertiesLine prop_line = prepare_s_e_line(process);
+ draw_line((void*)&prop_line, (void*)&draw_context);
+ }
/* become the last x position */
if(likely(x != hashed_process_data->x.middle)) {