AC_PREREQ(2.57)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
#AC_WITH_LTDL # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.18-09022006)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.19-11022006)
AM_CONFIG_HEADER(config.h)
AM_PROG_LIBTOOL
// g_assert(process->pid == parent_pid);
child_process = lttv_state_find_process(ts, ANY_CPU, child_pid);
if(child_process == NULL) {
- lttv_state_create_process(ts, process, cpu,
+ child_process = lttv_state_create_process(ts, process, cpu,
child_pid, LTTV_STATE_UNNAMED, &s->parent.timestamp);
} else {
/* The process has already been created : due to time imprecision between
before the fork event */
child_process->ppid = process->pid;
}
+ g_assert(child_process->name == LTTV_STATE_UNNAMED);
+ child_process->name = process->name;
return FALSE;
}
&s->parent.timestamp);
/* Keep the stack bottom : a running user mode */
-
+#if 0
+ /* Disabled because of inconsistencies in the current statedump states. */
if(mode == LTTV_STATE_USER_MODE) {
/* Only keep the bottom */
process->execution_stack = g_array_set_size(process->execution_stack, 1);
es->s = status;
es->n = submode;
}
+#endif //0
+ /* UNKNOWN STATE */
+ {
+ LttvExecutionState *es;
+ es = process->state = &g_array_index(process->execution_stack,
+ LttvExecutionState, 1);
+ es->t = LTTV_STATE_MODE_UNKNOWN;
+ es->s = LTTV_STATE_UNNAMED;
+ es->n = LTTV_STATE_SUBMODE_UNKNOWN;
+ }
} else {
/* The process has already been created :
* Probably was forked while dumping the process state or