Skip to content

Changes

Summary

  1. ss: replace granularity with checkpoint attribute and add synchronization (details)
Commit bc768e1eda8e74bdb0091305fa4a86194c94c28b by Arnaud Fiorini
ss: replace granularity with checkpoint attribute and add synchronization

This patch creates an interal state for the pss. The state keeps track
of which checkpoint it is in. This process was initially put forth by
Matthew Khouzam, Fabien Reumont-Locke improved it.

We are also adding a synchronization on the methods that modify
the trasState to avoid a race condition.

Signed-off-by: Abdellah Rahmani <rahmaniabdellah1994@gmail.com>
Change-Id: I9af752ae154fceb1c31ed57b64f0c17650c55703
The file was modified lttng/org.eclipse.tracecompass.lttng2.kernel.core.tests/src/org/eclipse/tracecompass/lttng2/kernel/core/tests/analysis/kernel/statesystem/StateSystemTest.java
The file was modified tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/tmf/core/statesystem/backends/partial/PartialStateSystem.java
The file was modified tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/tmf/core/statesystem/backends/partial/PartialHistoryBackend.java
The file was modified statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/StateSystem.java
The file was modified tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfStateSystemAnalysisModule.java