The importer accepts an array of input paths (either positionally at the CLI or in a configuration file)
which constitute a single logical CTF trace.
A logical CTF trace contains one or more physical CTF traces.
A physical CTF trace on the file system is a directory which contains:
One metadata stream file named metadata.
One or more data stream files, that is, any file with a name that does not start with . and which is not metadata.
The following describes the default mapping between CTF(opens new window) concepts
and Modality's concepts.
See the configuration section for ways to change the default behavior.
CTF streams are represented as separate Modality timelines
CTF trace and stream properties are represented as Modality timeline attributes under the timeline.internal.ctf prefix
CTF event common, specific, and packet context fields are represented as Modality event attributes under the timeline.internal.ctf prefix
Configuration fields should be placed in a [plugins.ingest.importers.ctf.metadata] table in
a modality-reflector configuration file.
All fields are optional.
Use the provided UUID as the run ID instead of generating a random one.
trace-uuid
UUID
Provide a trace UUID for this data import. This UUID will override a UUID contained in the CTF metadata, if any.
This is useful for constructing deterministic trace UUIDs which form the timeline IDs.
log-level
string
Logging level for libbabeltrace itself, useful for diagnosing import issues. Must be one of trace, debug, info, warning, error, fatal, none. Defaults to none. See the libbabeltrace documentation(opens new window) for more info.
trace-name
string
Set the name of the trace object, overriding the data's trace name if present. Corresponds to the trace-name(opens new window) parameter in babeltrace.
clock-class-offset-ns
integer
Add clock-class-offset-ns nanoseconds to the offset of all the clock classes in the data. Can be combined with clock-class-offset-s. Corresponds to the clock-class-offset-ns(opens new window) parameter in babeltrace.
offset-s
integer
Add clock-class-offset-s seconds to the offset of all the clock classes in the data. Can be combined with clock-class-offset-ns. Corresponds to the clock-class-offset-s(opens new window) parameter in babeltrace.