os.linux: Create PPID and SYSTEM_CALL attributes on demand
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / internal / analysis / os / linux / core / kernel / handlers / SchedSwitchHandler.java
index ef4fc47b8627fd261edb1a36d1d66aa6cd5be643..ab0506cbcd1a0ff6f909453e4e5e9df12363537a 100644 (file)
@@ -83,10 +83,6 @@ public class SchedSwitchHandler extends KernelEventHandler {
         /* Set the current prio for the new process */
         setProcessPrio(ss, nextPrio, newCurrentThreadNode, timestamp);
 
-        /* Make sure the PPID and system_call sub-attributes exist */
-        ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.SYSTEM_CALL);
-        ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.PPID);
-
         /* Set the current scheduled process on the relevant CPU */
         int currentCPUNode = KernelEventHandlerUtils.getCurrentCPUNode(cpu, ss);
         setCpuProcess(ss, nextTid, timestamp, currentCPUNode);
This page took 0.0263 seconds and 5 git commands to generate.