Skip to main content

Module trace

Module trace 

Source
Expand description

Runtime call frames, observed data edges, and locals. 运行时调用帧、已观测数据边与局部值。

Re-exports§

pub use frames::FramePath;
pub use super::edges::DataEdge;
pub use super::edges::DataHop;
pub use super::locals::LocalId;
pub use super::locals::LocalKind;
pub use super::locals::LocalValue;
pub use super::locals::Observation;
pub use self::artifact::*;

Modules§

artifact
The versioned nichlink.trace artifact: a recorded CallTrace as text. 带版本的 nichlink.trace artifact:以文本保存的已记录 CallTrace。
edges
Observed value edges and provenance queries. 已观测值边与来源查询。
frames
Persistent call-frame operations. 持久化调用帧操作。
locals
Runtime locals and local-value queries. 运行时局部值与局部值查询。

Structs§

CallSite
One call edge that was observed while a CallTrace frame was active. CallTrace 中实际观察到的一条调用边。
CallTrace
The runtime evidence collector shared by frames, locals, and value edges. 运行期证据收集器,由调用帧、局部值与值边共用。
FrameView
A borrowed frame and its parent link, without materializing a path. 借用的调用帧及其父链接,不生成路径数组。

Enums§

TraceMode
Runtime collection policy. 运行时追踪收集策略。

Functions§

application_default_trace_mode
Runtime collection policy helpers. The enum and its parser live in the kernel; these free functions carry the build-profile and environment bindings that make them a run_method concern. 运行时追踪收集策略的辅助函数。枚举与解析器在 kernel; 以下自由函数承载让它们属于 run_method 面的构建配置与环境绑定。 The policy used by an application runtime when no debug mode is chosen. 未显式选择调试模式时,应用运行时采用的策略。
source_file_matches
Whether a recorded source path matches a lowercase search needle. 记录的源码路径是否匹配一个小写的搜索关键词。
trace_mode_from_env
Reads the optional process-level override once when a trace is created. 创建追踪器时读取一次可选的进程级覆盖配置。