Add `ctf::src::MetadataStreamParser` class
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 15:23:45 +0000 (11:23 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit853d1f79ccd44ab92faf9f80d8048c477890967b
tree68c36d0351d470beb62bb15fe336efaae0e08145
parentfc5244beca0f66080e589fe9ef66aa5713d4d40f
Add `ctf::src::MetadataStreamParser` class

WRITE ME

-----------------

The commit message of the old `Add ctf::src::finalizeTraceCls()` commit:

This new function finalizes a `ctf::src` CTF IR trace class after its
creation or when it gets new data stream classes or event record
classes.

The function:

* Sets the value saving indexes of dependencies (field classes) and the
  saved value index of dependent (dynamic-length, optional, and variant)
  field classes.

  It also links the dependent field classes to their dependencies by
  weak pointer.

* With a self component pointer, translates the contained objects to
  their trace IR equivalents.
-----------------

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I24e175447f759220de5943ccb49c7888a5934ce5
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/common/src/metadata/Makefile.am
src/plugins/ctf/common/src/metadata/metadata-stream-parser.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/metadata-stream-parser.hpp [new file with mode: 0644]
This page took 0.026892 seconds and 5 git commands to generate.