Skip to content

Changes

Summary

  1. timing: Fix the Eclipse build errors in IStatisticsAnalysis (details)
  2. ctf.core: Proper initialization of a CTF2 Trace (details)
Commit 4bb6d1e7a8b8c4845ea470219a23a0554b1bf488 by Marco Miller
timing: Fix the Eclipse build errors in IStatisticsAnalysis

Fix the Eclipse build errors [1] in IStatisticsAnalysis. Also fix the
warning [2] while there (line 64). Based on Eclipse 2023-06 (4.28.0).

[1] 'E' is not a valid substitute for the type parameter '@NonNull E'.
[2] annotation is redundant with a default that applies to this location

Change-Id: I608cc47d7e8b957bf1aa789a56f46d8e24e31932
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203544
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified analysis/org.eclipse.tracecompass.analysis.timing.core/src/org/eclipse/tracecompass/analysis/timing/core/statistics/IStatisticsAnalysis.java (diff)
Commit dd8c0adb7691902f99af8313017b4f11c7553e0c by Marco Miller
ctf.core: Proper initialization of a CTF2 Trace

Working on the reading of a packet header and a data file to load the
trace without error. Will automatically be tested by JUnit tests and
can manually be tested using [1]. The expected result is a trace with
only one event type ('string') and every event should have the same
timestamp. More complex traces cannot be tested until clock
functionality is added.

[1] https://review.lttng.org/plugins/gitiles/babeltrace/+/refs/heads/ctf2/tests/data/ctf-traces/2/succeed/succeed1/

Change-Id: I2f644e3d325cbe6846442cebb775a8faba60a2ec
Signed-off-by: Sehr Moosabhoy <sehr.moosabhoy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203295
Tested-by: Marco Miller <marco.miller@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/utils/JsonMetadataStrings.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace/CTFTrace.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/trace/IOstructgenTest.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/EventDefinition.java (diff)