Fix typo in method name: setNewProcessPio -> setNewProcessPrio
authorRaphaël Beamonte <raphael.beamonte@gmail.com>
Tue, 12 Apr 2016 17:37:45 +0000 (13:37 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 12 Apr 2016 20:56:56 +0000 (16:56 -0400)
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 <raphael.beamonte@gmail.com>
Reviewed-on: https://git.eclipse.org/r/70502
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SchedSwitchHandler.java

index 371a1cd6b19f4e8dfb967acaed99b2cf5bd97d48..b07195d0186cc203466f5d50a5f8cc7e5d5a5a99 100644 (file)
@@ -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);
This page took 0.025404 seconds and 5 git commands to generate.