@@ -78,7 +78,6 @@ macro_rules! generate_writer {
7878 ( $fname: ident, $ty: ty) => {
7979 /// Write a value of type `$ty` to the memory at the given offset.
8080 #[ allow( dead_code) ]
81- #[ instrument( err( Debug ) , skip_all, parent = Span :: current( ) , level= "Trace" ) ]
8281 pub ( crate ) fn $fname( & mut self , offset: usize , value: $ty) -> Result <( ) > {
8382 let data = self . as_mut_slice( ) ;
8483 bounds_check!( offset, std:: mem:: size_of:: <$ty>( ) , data. len( ) ) ;
@@ -586,7 +585,6 @@ impl ExclusiveSharedMemory {
586585 /// the safety documentation of pointer::offset.
587586 ///
588587 /// This is ensured by a check in ::new()
589- #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
590588 pub ( super ) fn as_mut_slice < ' a > ( & ' a mut self ) -> & ' a mut [ u8 ] {
591589 unsafe { std:: slice:: from_raw_parts_mut ( self . base_ptr ( ) , self . mem_size ( ) ) }
592590 }
@@ -708,7 +706,6 @@ pub trait SharedMemory {
708706 /// Return the length of usable memory contained in `self`.
709707 /// The returned size does not include the size of the surrounding
710708 /// guard pages.
711- #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
712709 fn mem_size ( & self ) -> usize {
713710 self . region ( ) . size - 2 * PAGE_SIZE_USIZE
714711 }
0 commit comments