fuchsia.kernel

PROTOCOLS

Counter

Defined in fuchsia.kernel/kernel-counter.fidl

Protocol for retrieving kcounter information.

GetInspectVMO

Retrives a VMO containining summarized kcounter data. The vmo returned in |buffer| is in "inspect-vmo" format, documented elsewhere.

Request

NameType

Response

NameType
status int32
buffer fuchsia.mem/Buffer

UpdateInspectVMO

Request that the previously-returned VMO buffer's data be updated. The data may not be updated if it was already recently updated (updates are limited to an unspecified rate, but approximately every few seconds).

Request

NameType

Response

NameType
status int32

DebugBroker

Defined in fuchsia.kernel/kernel-debug.fidl

Acts on behalf of the caller to interact with privileged debug system calls.

SendDebugCommand

Pass debug command through to the kernel shell. Look at zx_debug_send_command syscall handling to find valid values.

Request

NameType
command string[1024]

Response

NameType
status int32

SetTracingEnabled

Sets whether kernel tracing (ktrace) is enabled or disabled.

Request

NameType
enabled bool

Response

NameType
status int32

MexecBroker

Defined in fuchsia.kernel/kernel-mexec.fidl

Acts on behalf of the caller to interact with privileged mexec system call.

PerformMexec

Perform an mexec with the given kernel and bootdata. See ZX-2069 for the thoughts on deprecating mexec.

Request

NameType
kernel handle<vmo>
bootdata handle<vmo>

CONSTANTS

NameValueTypeDescription
DEBUG_COMMAND_MAX 1024 uint32 Maximum number of bytes in a command string