Skip to content

Commit 68b12f5

Browse files
committed
chore: add instrumentation for VmState::initial
1 parent 6759a94 commit 68b12f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/vm/src/arch/state.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use std::{
66
use getset::WithSetters;
77
use openvm_instructions::exe::SparseMemoryImage;
88
use rand::{rngs::StdRng, SeedableRng};
9+
use tracing::instrument;
910

1011
use super::{create_memory_image, ExecutionError, Streams};
1112
#[cfg(feature = "metrics")]
@@ -54,6 +55,7 @@ impl<F: Clone, MEM> VmState<F, MEM> {
5455
}
5556

5657
impl<F: Clone> VmState<F, GuestMemory> {
58+
#[instrument(name = "VmState::initial", level = "debug", skip_all)]
5759
pub fn initial(
5860
system_config: &SystemConfig,
5961
init_memory: &SparseMemoryImage,

0 commit comments

Comments
 (0)