Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
git-svn-id: http://ltt.polymtl.ca/svn@3382
04897980-b3bd-0310-b5e0-
8ef037075253
irq = ltt_event_get_long_unsigned(e, lttv_trace_get_hook_field(th, 0));
} else if (minfo->name == LTT_EVENT_IRQ_EXIT) {
irq = ts->cpu_states[cpu].last_irq;
+ if (irq == -1)
+ return 0;
} else
return 0;
softirq = ltt_event_get_long_unsigned(e, lttv_trace_get_hook_field(th, 0));
} else if (minfo->name == LTT_EVENT_SOFT_IRQ_EXIT) {
softirq = ts->cpu_states[cpu].last_soft_irq;
+ if (softirq == -1)
+ return 0;
} else
return 0;