package org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers;
-import org.eclipse.tracecompass.analysis.os.linux.core.kernel.Attributes;
import org.eclipse.tracecompass.analysis.os.linux.core.kernel.StateValues;
import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout;
+import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.Attributes;
import org.eclipse.tracecompass.statesystem.core.ITmfStateSystemBuilder;
import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException;
import org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue;
ss.modifyAttribute(timestamp, value, quark);
/* Put the process in system call mode */
- quark = ss.getQuarkRelativeAndAdd(currentThreadNode, Attributes.STATUS);
value = StateValues.PROCESS_STATUS_RUN_USERMODE_VALUE;
- ss.modifyAttribute(timestamp, value, quark);
+ ss.modifyAttribute(timestamp, value, currentThreadNode);
/* Put the CPU in system call (kernel) mode */
int currentCPUNode = KernelEventHandlerUtils.getCurrentCPUNode(cpu, ss);