nb_tracefile = ltt_trace_control_tracefile_number(tc->t);
for(j = 0 ; j < nb_tracefile ; j++) {
tfcs = (LttvTracefileState *)tfc = tc->control_tracefiles[j];
nb_tracefile = ltt_trace_control_tracefile_number(tc->t);
for(j = 0 ; j < nb_tracefile ; j++) {
tfcs = (LttvTracefileState *)tfc = tc->control_tracefiles[j];
}
nb_tracefile = ltt_trace_per_cpu_tracefile_number(tc->t);
for(j = 0 ; j < nb_tracefile ; j++) {
tfcs = (LttvTracefileState *)tfc = tc->per_cpu_tracefiles[j];
}
nb_tracefile = ltt_trace_per_cpu_tracefile_number(tc->t);
for(j = 0 ; j < nb_tracefile ; j++) {
tfcs = (LttvTracefileState *)tfc = tc->per_cpu_tracefiles[j];
(GClassInitFunc) trace_state_class_init, /* class_init */
NULL, /* class_finalize */
NULL, /* class_data */
(GClassInitFunc) trace_state_class_init, /* class_init */
NULL, /* class_finalize */
NULL, /* class_data */
g_array_remove_index(process->interrupt_stack, depth);
depth--;
process->state = &g_array_index(process->interrupt_stack, LttvInterruptState,
g_array_remove_index(process->interrupt_stack, depth);
depth--;
process->state = &g_array_index(process->interrupt_stack, LttvInterruptState,
process->birth = tfc->timestamp;
process->name = LTTV_STATE_UNNAMED;
process->interrupt_stack = g_array_new(FALSE, FALSE,
process->birth = tfc->timestamp;
process->name = LTTV_STATE_UNNAMED;
process->interrupt_stack = g_array_new(FALSE, FALSE,
- pid_in = ltt_event_get_int(s->parent.e, h->f1);
- pid_out = ltt_event_get_int(s->parent.e, h->f2);
- state_out = ltt_event_get_int(s->parent.e, h->f3);
+ pid_in = ltt_event_get_unsigned(s->parent.e, h->f1);
+ pid_out = ltt_event_get_unsigned(s->parent.e, h->f2);
+ state_out = ltt_event_get_unsigned(s->parent.e, h->f3);
if(s->process != NULL) {
if(state_out == 0) s->process->state->s = LTTV_STATE_WAIT_CPU;
else if(s->process->state->s == LTTV_STATE_EXIT)
exit_process(s, s->process);
else s->process->state->s = LTTV_STATE_WAIT;
if(s->process != NULL) {
if(state_out == 0) s->process->state->s = LTTV_STATE_WAIT_CPU;
else if(s->process->state->s == LTTV_STATE_EXIT)
exit_process(s, s->process);
else s->process->state->s = LTTV_STATE_WAIT;
}
s->process = find_process(s, pid_in);
s->process->state->s = LTTV_STATE_RUN;
}
s->process = find_process(s, pid_in);
s->process->state->s = LTTV_STATE_RUN;
NULL, NULL, NULL, process_exit);
g_array_append_val(hooks, hook_id);
NULL, NULL, NULL, process_exit);
g_array_append_val(hooks, hook_id);
/* Add these hooks to each before_event_by_id hooks list */
nb_control = ltt_trace_control_tracefile_number(ts->parent.t);
/* Add these hooks to each before_event_by_id hooks list */
nb_control = ltt_trace_control_tracefile_number(ts->parent.t);