diff --git a/src/hyperlight_common/src/flatbuffer_wrappers/guest_error.rs b/src/hyperlight_common/src/flatbuffer_wrappers/guest_error.rs index 4a1a63dcd..289ae48b4 100644 --- a/src/hyperlight_common/src/flatbuffer_wrappers/guest_error.rs +++ b/src/hyperlight_common/src/flatbuffer_wrappers/guest_error.rs @@ -196,7 +196,6 @@ impl GuestError { impl TryFrom<&[u8]> for GuestError { type Error = Error; - #[cfg_attr(feature = "tracing", instrument(err(Debug), skip_all, parent = Span::current(), level= "Trace"))] fn try_from(value: &[u8]) -> Result { let guest_error_fb = size_prefixed_root::(value) .map_err(|e| anyhow::anyhow!("Error while reading GuestError: {:?}", e))?; diff --git a/src/hyperlight_host/src/mem/mgr.rs b/src/hyperlight_host/src/mem/mgr.rs index 239e9edef..7910d9dc2 100644 --- a/src/hyperlight_host/src/mem/mgr.rs +++ b/src/hyperlight_host/src/mem/mgr.rs @@ -538,7 +538,6 @@ impl SandboxMemoryManager { } /// Get the guest error data - #[instrument(err(Debug), skip_all, parent = Span::current(), level= "Trace")] pub(crate) fn get_guest_error(&mut self) -> Result { self.shared_mem.try_pop_buffer_into::( self.layout.output_data_buffer_offset, diff --git a/src/hyperlight_host/src/mem/shared_mem.rs b/src/hyperlight_host/src/mem/shared_mem.rs index 19e79179e..50c809f44 100644 --- a/src/hyperlight_host/src/mem/shared_mem.rs +++ b/src/hyperlight_host/src/mem/shared_mem.rs @@ -919,7 +919,6 @@ impl HostSharedMemory { /// Pops the given given buffer into a `T` and returns it. /// NOTE! the data must be a size-prefixed flatbuffer, and /// buffer_start_offset must point to the beginning of the buffer - #[instrument(err(Debug), skip_all, parent = Span::current(), level= "Trace")] pub fn try_pop_buffer_into( &mut self, buffer_start_offset: usize,