projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KernelAnalysis: Use CPUs CoreAttributes to store "Status"
[deliverable/tracecompass.git]
/
analysis
/
org.eclipse.tracecompass.analysis.os.linux.core
/
src
/
org
/
eclipse
/
tracecompass
/
internal
/
analysis
/
os
/
linux
/
core
/
kernel
/
handlers
/
SysExitHandler.java
diff --git
a/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SysExitHandler.java
b/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SysExitHandler.java
index 2841d3612cf377cb76fe55c440bb7a81119c9698..a898f936f3f8622bce63264bef454549d635242c 100644
(file)
--- a/
analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SysExitHandler.java
+++ b/
analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernel/handlers/SysExitHandler.java
@@
-55,9
+55,8
@@
public class SysExitHandler extends KernelEventHandler {
/* Put the CPU in system call (kernel) mode */
int currentCPUNode = KernelEventHandlerUtils.getCurrentCPUNode(cpu, ss);
/* Put the CPU in system call (kernel) mode */
int currentCPUNode = KernelEventHandlerUtils.getCurrentCPUNode(cpu, ss);
- quark = ss.getQuarkRelativeAndAdd(currentCPUNode, Attributes.STATUS);
value = StateValues.CPU_STATUS_RUN_USERMODE_VALUE;
value = StateValues.CPU_STATUS_RUN_USERMODE_VALUE;
- ss.modifyAttribute(timestamp, value,
quark
);
+ ss.modifyAttribute(timestamp, value,
currentCPUNode
);
}
}
}
}
This page took
0.027454 seconds
and
5
git commands to generate.