Skip to content

Changes

Summary

  1. OTF2: Create generic class representing a SystemTreeNode (details)
  2. server: Serialize series type in SeriesModelSerializer (details)
  3. Use StyleProperties in favor of IYAppearnce definitions (details)
Commit dc98dab6b8d898d9f67ef4c39c791a51da4554bc by Marco Miller
OTF2: Create generic class representing a SystemTreeNode

Added a generic class representing system tree nodes. This class can be
inherited by the different OTF2 analyzes that use the system
architecture. With this class, some recurrent functions related to
system tree nodes do not need to be duplicated in these analyzes.

Also changed the callstack state provider so it makes use of this new
class.

Signed-off-by: yoann-heitz <yoann.heitz@polymtl.ca>
Change-Id: Ic62bc6ed55dd180adf7f92922d93996446e2c5cc
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/190902
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
The file was addedtracetypes/org.eclipse.tracecompass.incubator.otf2.core/src/org/eclipse/tracecompass/incubator/internal/otf2/core/trace/package-info.java
The file was modified tracetypes/org.eclipse.tracecompass.incubator.otf2.core/src/org/eclipse/tracecompass/incubator/internal/otf2/core/analysis/callstack/Otf2CallStackStateProvider.java (diff)
The file was addedtracetypes/org.eclipse.tracecompass.incubator.otf2.core/src/org/eclipse/tracecompass/incubator/internal/otf2/core/trace/SystemTreeNode.java
The file was modified tracetypes/org.eclipse.tracecompass.incubator.otf2.core/src/org/eclipse/tracecompass/incubator/internal/otf2/core/analysis/IOtf2Constants.java (diff)
Commit e59a24ce8a1bca0b11dc30e23564b7c788739805 by Marco Miller
server: Serialize series type in SeriesModelSerializer

Because of a Swagger limitation (unknown cause), getStyle's description
is put at interface level instead of method. This approach is preferred
to not having a description that works.

This change mainly depends on core org.eclipse.tracecompass change [1]:

[1] timing.core: Serialize xy scatter as series type

Change-Id: Ibf31eb6719bd76fbc7d26ce637590341a7480b10
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193170
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/SeriesModel.java (diff)
The file was modified trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/webapp/SeriesModelSerializer.java (diff)
The file was modified trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core.tests/src/org/eclipse/tracecompass/incubator/trace/server/jersey/rest/core/tests/stubs/XySeriesStub.java (diff)
Commit 353070aa421bf6c28fe015045395ca36a8b02c24 by Bernd Hufmann
Use StyleProperties in favor of IYAppearnce definitions

IYAppearance will be deprecated soon.

Change-Id: Ic6b155471d0a3b10e7ed4c723fdaf16377f90609
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193514
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The file was modified scripting/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/internal/scripting/ui/views/scatter/ScriptedScatterViewer.java (diff)
The file was modified scripting/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/internal/scripting/ui/views/histogram/ScriptedHistogramViewer.java (diff)
The file was modified tracetypes/org.eclipse.tracecompass.incubator.opentracing.ui/src/org/eclipse/tracecompass/incubator/internal/opentracing/ui/view/spanlife/SpanLifePresentationProvider.java (diff)