YAML trace object
A trace object represents a CTF trace.
A trace object has a type and an optional environment.
As of barectf 3.1, a configuration object has a single trace object.
Properties
| Name | Type | Description | Req? | Default | 
|---|---|---|---|---|
Type of this trace (metadata part).  | 
Yes  | 
|||
Mapping of string keys to integer or string values  | 
This trace’s environment variables. Keys of this mapping are environment variable names. They must be valid TSDL identifiers. A CTF trace reader can read the variables of this mapping.  | 
No  | 
Empty mapping  | 
|
Sequence of strings.  | 
No  | 
No inclusions  | 
Examples
| The following examples omit the trace type object for clarity. | 
Example 1. Basic trace object.
type:
  # ...
Example 2. Trace object with environment variables.
type:
  # ...
environment:
  my_program_version_major: 1
  my_program_version_minor: 6
  os: Palm OS
Example 3. Trace object with an inclusion.
type:
  # ...
$include: [my-env.yaml]