Skip to content

Changes

Summary

  1. ctf.core: Set parent/child in data stream and event record nodes (details)
  2. ctf.core: Support field class alias in CTF2 Metadata (details)
  3. linux.core: Add priority/thread name statistics data provider factory (details)
Commit 01c87e964c1c9ce53a8e5567ff72ae3d912add68 by Patrick Tasse
ctf.core: Set parent/child in data stream and event record nodes

Set the parent/child relationships of the immediate children of
JsonDataStreamMetadataNode and JsonEventRecordMetadataNode during their
initialization.

[Fixed] Set parent/child in data stream and event record nodes

Change-Id: I9374b49588aef38b518e8fb14915abbda65b316a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/204822
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 ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/JsonDataStreamMetadataNode.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/JsonEventRecordMetadataNode.java (diff)
Commit 32f3220728700fb8ec9a1062b8f2865252df3f82 by Patrick Tasse
ctf.core: Support field class alias in CTF2 Metadata

Allow field-class-alias fragments in root metadata node.

Add new class FieldClass to be used instead of JsonObject. Create and
register a FieldClassDeserializer that will accept a JSON Object as a
field class or a JSON String as a field class alias and lookup a
previously occurring field class alias with that name.

Support a string as a field class alias in TypeAliasParser and lookup a
previously occurring field class alias with that name in the Metadata
root.

[Added] Support field class alias in CTF2 Metadata

Change-Id: I7a7cf52a1ce36ba726ba2ab568ed6e9b9cfc4803
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/204823
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>
The file was addedctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/FieldClass.java
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace/Metadata.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/JsonFieldClassAliasMetadataNode.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/IOStructGen.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/tsdl/TypeAliasParser.java (diff)
Commit 34d2520d23a45652aadea8a4cbcc6abc8c34bf72 by Matthew Khouzam
linux.core: Add priority/thread name statistics data provider factory

This commit creates a new data provider for the new priority/thread name
statistics analysis by extending the
AbstractSegmentStoreStatisticsDataProviderFactory class. The data
provider has a private class called PriorityThreadNameStatisticsAnalysis
which specifies that entries for the priority/thread name statistics
analysis should be grouped by priority and thread name.

[Added] Data provider factory for priority/thread name statistics
analysis

Change-Id: Id5ad6a8301e1188916f0abc40006c11045b54976
Signed-off-by: Hoang Thuan Pham <hoang.pham@calian.ca>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/204382
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The file was modified analysis/org.eclipse.tracecompass.analysis.os.linux.core/META-INF/MANIFEST.MF (diff)
The file was addedanalysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/segmentstore/PriorityThreadNameStatisticsDataProviderFactory.java
The file was addedanalysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/segmentstore/messages.properties
The file was addedanalysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/segmentstore/Messages.java
The file was modified analysis/org.eclipse.tracecompass.analysis.timing.core/META-INF/MANIFEST.MF (diff)