import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout;
import org.eclipse.tracecompass.common.core.NonNullUtils;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.Activator;
+import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers.IPIEntryHandler;
+import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers.IPIExitHandler;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers.IrqEntryHandler;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers.IrqExitHandler;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers.KernelEventHandler;
import com.google.common.collect.ImmutableMap;
/**
- * This is the state change input plugin for TMF's state system which handles
- * the LTTng 2.0 kernel traces in CTF format.
- *
- * It uses the reference handler defined in CTFKernelHandler.java.
+ * This is the state change input plugin for the state system which handles the
+ * kernel traces.
*
* @author Alexandre Montplaisir
*/
* Version number of this state provider. Please bump this if you modify the
* contents of the generated state history in some way.
*/
- private static final int VERSION = 11;
+ private static final int VERSION = 21;
// ------------------------------------------------------------------------
// Fields
builder.put(layout.eventSchedProcessFork(), new ProcessForkHandler(layout));
builder.put(layout.eventSchedProcessExit(), new ProcessExitHandler(layout));
builder.put(layout.eventSchedProcessFree(), new ProcessFreeHandler(layout));
+ for( String s : layout.getIPIIrqVectorsEntries()) {
+ builder.put(s, new IPIEntryHandler(layout));
+ }
+ for( String s : layout.getIPIIrqVectorsExits()) {
+ builder.put(s, new IPIExitHandler(layout));
+ }
final String eventStatedumpProcessState = layout.eventStatedumpProcessState();
if (eventStatedumpProcessState != null) {
builder.put(eventSchedWakeup, new SchedWakeupHandler(layout));
}
- return NonNullUtils.checkNotNull(builder.build());
+ return builder.build();
}
// ------------------------------------------------------------------------