package org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers;
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.tmf.core.event.ITmfEvent;
Integer cpu = KernelEventHandlerUtils.getCpu(event);
Integer tid = ((Long) event.getContent().getField(getLayout().fieldTid()).getValue()).intValue();
- String threadAttributeName = KernelEventHandlerUtils.buildThreadAttributeName(tid, cpu);
+ String threadAttributeName = Attributes.buildThreadAttributeName(tid, cpu);
if (threadAttributeName == null) {
return;
}