Skip to content

Commit bdd20cc

Browse files
committed
kernel: make status for threads work again
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
1 parent 6dff891 commit bdd20cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/kernel/KernelThreadInformationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public static Map<Integer, List<ITmfStateInterval>> getStatusIntervalsForThreads
548548
if (ss == null) {
549549
return Objects.requireNonNull(Collections.emptyMap());
550550
}
551-
List<Long> currentTimes = times.stream().filter(time -> (time > ss.getCurrentEndTime() || time < ss.getStartTime())).sorted().collect(Collectors.toList());
551+
List<Long> currentTimes = times.stream().filter(time -> (time < ss.getCurrentEndTime() || time > ss.getStartTime())).sorted().collect(Collectors.toList());
552552
if (currentTimes.isEmpty()) {
553553
return Objects.requireNonNull(Collections.emptyMap());
554554
}

0 commit comments

Comments
 (0)