timing: Listener on table viewer should not be mandatory
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 20 Apr 2017 17:06:30 +0000 (13:06 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Mon, 8 May 2017 21:44:56 +0000 (17:44 -0400)
commitf0b123a92046bde6a7dfb304d0fffcd8324c4951
tree4990ef826cf6f00eaf06756415f170efdff04ab7
parenta23cd365ee58f5e720f0c483b5c28160f05d97ba
timing: Listener on table viewer should not be mandatory

Race conditions can happen in views where there is a segment store table
and another viewer (like density view) where the data is updated twice
in the table, one by the table viewer itself and one by the density
viewer.

Now the density views can specify not to add a listener for the table
and let the density viewer update the data.

Change-Id: I1d12560bf6dd5f43a667be5836176b4af6f897bc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95406
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/latency/SystemCallLatencyDensityView.java
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/table/AbstractSegmentStoreTableViewer.java
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/table/SegmentStoreTableViewer.java
This page took 0.025988 seconds and 5 git commands to generate.