From: Raphaël Beamonte Date: Tue, 12 Apr 2016 17:37:45 +0000 (-0400) Subject: Fix typo in method name: setNewProcessPio -> setNewProcessPrio X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=7058798b2a3dce851ae20f10d8add698e119fa40;p=deliverable%2Ftracecompass.git Fix typo in method name: setNewProcessPio -> setNewProcessPrio An obvious typo was introduced in that method whose function is to update the new process priority. Change-Id: Id0600f339426c147fb75f0f157769298c3b6dfe7 Signed-off-by: Raphaël Beamonte Reviewed-on: https://git.eclipse.org/r/70502 Reviewed-by: Matthew Khouzam Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir Tested-by: Alexandre Montplaisir --- diff --git a/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SchedSwitchHandler.java b/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SchedSwitchHandler.java index 371a1cd6b1..b07195d018 100644 --- a/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SchedSwitchHandler.java +++ b/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SchedSwitchHandler.java @@ -73,7 +73,7 @@ public class SchedSwitchHandler extends KernelEventHandler { setNewProcessExecName(ss, nextProcessName, newCurrentThreadNode, timestamp); /* Set the current prio for the new process */ - setNewProcessPio(ss, nextPrio, newCurrentThreadNode, timestamp); + setNewProcessPrio(ss, nextPrio, newCurrentThreadNode, timestamp); /* Make sure the PPID and system_call sub-attributes exist */ ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.SYSTEM_CALL); @@ -156,7 +156,7 @@ public class SchedSwitchHandler extends KernelEventHandler { ss.modifyAttribute(timestamp, value, quark); } - private static void setNewProcessPio(ITmfStateSystemBuilder ss, Integer nextPrio, Integer newCurrentThreadNode, long timestamp) throws AttributeNotFoundException { + private static void setNewProcessPrio(ITmfStateSystemBuilder ss, Integer nextPrio, Integer newCurrentThreadNode, long timestamp) throws AttributeNotFoundException { int quark; ITmfStateValue value; quark = ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.PRIO);