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>
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>
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>