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>
setNewProcessExecName(ss, nextProcessName, newCurrentThreadNode, timestamp);
/* Set the current prio for the new process */
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);
/* Make sure the PPID and system_call sub-attributes exist */
ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.SYSTEM_CALL);
ss.modifyAttribute(timestamp, value, quark);
}
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);
int quark;
ITmfStateValue value;
quark = ss.getQuarkRelativeAndAdd(newCurrentThreadNode, Attributes.PRIO);