pub struct VerifierStats {
pub processed_insns: u64,
pub total_states: u64,
pub peak_states: u64,
pub time_usec: Option<u64>,
pub stack_depth: Option<String>,
}Expand description
Parsed verifier stats from the kernel log line:
processed N insns (limit M) max_states_per_insn X total_states Y peak_states Z mark_read W
Fields§
§processed_insns: u64Instructions processed during verification.
total_states: u64Total explored verifier states.
peak_states: u64Peak concurrent explored states.
time_usec: Option<u64>Total verification wall time in microseconds, when BPF_LOG_STATS emitted a “verification time” line.
stack_depth: Option<String>Stack depth in the format "<prog>+<subprog>+<main>" (e.g.
"32+16+8") when BPF_LOG_STATS emitted a “stack depth” line.
Auto Trait Implementations§
impl Freeze for VerifierStats
impl RefUnwindSafe for VerifierStats
impl Send for VerifierStats
impl Sync for VerifierStats
impl Unpin for VerifierStats
impl UnwindSafe for VerifierStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more