Macros§
- bug_ref
- Creates a
BugReffrom a URL literal. - firehose_
trace_ duration - firehose_
trace_ duration_ begin - firehose_
trace_ duration_ end - firehose_
trace_ instant - log
- log_
debug - log_
error - log_
info - log_
syscall - log_
trace - log_
warn - trace_
duration - trace_
duration_ begin - trace_
duration_ end - trace_
flow_ begin - trace_
flow_ end - trace_
flow_ step - trace_
instaflow_ begin - trace_
instaflow_ end - trace_
instaflow_ step - trace_
instant - track_
stub - Tracks a stubbed implementation.
- track_
stub_ log - Tracks a stubbed implementation with a specified log level.
Structs§
- BugRef
- Represents a reference to a Fuchsia bug.
- Core
Dump Info - Core
Dump List - A list of recently coredumped tasks in Inspect.
- Record
- The “payload” of a log message.
- Syscall
LogFilter - A filter for syscall logging.
- Value
- A value in a key-value.
Enums§
- Level
- An enum representing the available verbosity levels of the logger.
- Trace
Scope Scoperepresents the scope of a trace event.
Constants§
- ARG_
NAME - CATEGORY_
ATRACE - CATEGORY_
STARNIX - CATEGORY_
STARNIX_ MM - CATEGORY_
STARNIX_ SECURITY - CATEGORY_
TRACE_ META - NAME_
CHECK_ TASK_ EXIT - NAME_
CREATE_ CONTAINER - NAME_
HANDLE_ EXCEPTION - NAME_
MAP_ RESTRICTED_ STATE - NAME_
PERFETTO_ BLOB - NAME_
READ_ RESTRICTED_ STATE - NAME_
RESTRICTED_ KICK - NAME_
RUN_ TASK - NAME_
START_ KERNEL - NAME_
WRITE_ RESTRICTED_ STATE
Traits§
Functions§
- impossible_
error - logger
- Returns a reference to the logger.
- not_
found_ lazy_ node_ callback - register_
context_ name_ callback - Provide a callback to retrieve the current context name, for example the name of the current Starnix process.
- register_
stub_ context_ callback - Initialize the inspect contrib library to be able to associate stub calls with process names.
- regular_
trace_ category_ enabled - set_
current_ task_ info - Set the context for log messages from this thread. Should only be called when a thread has been created to execute a user-level task, and should only be called once at the start of that thread’s execution.
- set_
zx_ name - trace_
debug_ logs_ enabled - track_
file_ not_ found - track_
stub_ lazy_ node_ callback - Returns a future that resolves to an
Inspectorcontaining stub information. - with_
zx_ name