Skip to main content

Module parser

Module parser 

Source
Expand description

Solana log parsing: lexer, compute-budget heuristics, CPI tree, and scope markers, plus a analyze facade that turns raw logs into a structured ParseAnalysis the profiler can consume.

Re-exports§

pub use cpi_tree::CallNode;
pub use cpi_tree::NodeStatus;
pub use scope_markers::AttributionMethod;
pub use scope_markers::MarkerKind;
pub use scope_markers::ScopeResult;
pub use solana_logs::LexResult;
pub use solana_logs::LogEvent;

Modules§

compute_budget
Compute-budget heuristics derived from logs.
cpi_tree
Reconstructs the CPI call tree from a lexed event stream.
scope_markers
Profiler scope markers.
solana_logs
Tolerant lexer for Solana program logs.

Structs§

ParseAnalysis
Structured result of analysing a single transaction’s logs.

Functions§

analyze
Analyse a log stream into a ParseAnalysis.