From 7058798b2a3dce851ae20f10d8add698e119fa40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Beamonte?= Date: Tue, 12 Apr 2016 13:37:45 -0400 Subject: [PATCH] Fix typo in method name: setNewProcessPio -> setNewProcessPrio MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- .../os/linux/core/kernel/handlers/SchedSwitchHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.34.1