Change-Id: I68c22af78898bb342a2212ad3a79ee1d0b200119
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40660
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
builder.put(layout.eventSchedProcessExit(), SCHED_PROCESS_EXIT_INDEX);
builder.put(layout.eventSchedProcessFree(), SCHED_PROCESS_FREE_INDEX);
- if (layout.eventStatedumpProcessState() != null) {
- builder.put(layout.eventStatedumpProcessState(), STATEDUMP_PROCESS_STATE_INDEX);
+ final String eventStatedumpProcessState = layout.eventStatedumpProcessState();
+ if (eventStatedumpProcessState != null) {
+ builder.put(eventStatedumpProcessState, STATEDUMP_PROCESS_STATE_INDEX);
}
for (String eventSchedWakeup : layout.eventsSchedWakeup()) {