STRUCTS
Record
Defined in fuchsia.diagnostics.streaming/record.fidl
A record in the diagnostic stream.
Name | Type | Description | Default |
---|---|---|---|
timestamp |
zx/time
|
The monotonic time at which the record was generated. |
No default |
arguments |
vector<Argument>[15]
|
The key-value pairs which make up this record. |
No default |
Argument
Defined in fuchsia.diagnostics.streaming/record.fidl
A named key-value pair in the diagnostic record.
Name | Type | Description | Default |
---|---|---|---|
name |
string[256]
|
The name of the argument. |
No default |
value |
Value
|
The value of the argument. |
No default |
XUNIONS
Value
Defined in fuchsia.diagnostics.streaming/record.fidl
An argument value which can be one of several types.
Name | Type | Description |
---|---|---|
signed |
int64
|
A signed integral argument. |
unsigned |
uint64
|
An unsigned integral argument. |
floating |
float64
|
A double-precision floating-point argument. |
text |
string[32768]
|
A UTF8 text argument. |
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
MAX_ARGS |
15
|
uint32 |
Maximum number of arguments that can be encoded per record, as specified by the tracing format: https://fuchsia.dev/fuchsia-src/development/tracing/trace-format#arguments |
MAX_ARG_NAME_LENGTH |
256
|
uint32 |
A small(ish) limit on the length of argument names is used because argument names are expected to be used repeatedly, many times. |
MAX_TEXT_ARG_LENGTH |
32768
|
uint32 |
The maximum string length which we can encode into the tracing format. |