Google is committed to advancing racial equity for Black communities. See how.

fuchsia.tracing.kernel

PROTOCOLS

Controller

Defined in fuchsia.tracing.kernel/ktrace.fidl

Rewind

Rewind the trace buffer.

Request

NameType

Response

NameType
status zx/status

Start

Start tracing.

Request

NameType
group_mask uint32

Response

NameType
status zx/status

Stop

Stop tracing.

Request

NameType

Response

NameType
status zx/status

Reader

Defined in fuchsia.tracing.kernel/ktrace.fidl

GetBytesWritten

Get the number of bytes written to the trace buffer. size is valid if, and only if, status is ZX_OK.

Request

NameType

Response

NameType
status zx/status
size uint64

ReadAt

Read count bytes from ktrace buffer at offset and return data read upon success

Request

NameType
count uint64
offset uint64

Response

NameType
status zx/status
data vector<uint8>[8192]

STRUCTS

CONSTANTS

NameValueTypeDescription
MAX_BUF 8192 uint32