@@ -37,7 +37,6 @@ use crate::exit::out32;
3737
3838impl GuestHandle {
3939 /// Get user memory region as bytes.
40- #[ hyperlight_guest_tracing:: trace_function]
4140 pub fn read_n_bytes_from_user_memory ( & self , num : u64 ) -> Result < Vec < u8 > > {
4241 let peb_ptr = self . peb ( ) . unwrap ( ) ;
4342 let user_memory_region_ptr = unsafe { ( * peb_ptr) . init_data . ptr as * mut u8 } ;
@@ -66,7 +65,6 @@ impl GuestHandle {
6665 ///
6766 /// When calling `call_host_function<T>`, this function is called
6867 /// internally to get the return value.
69- #[ hyperlight_guest_tracing:: trace_function]
7068 pub fn get_host_return_value < T : TryFrom < ReturnValue > > ( & self ) -> Result < T > {
7169 let return_value = self
7270 . try_pop_shared_input_data_into :: < ReturnValue > ( )
@@ -87,7 +85,6 @@ impl GuestHandle {
8785 ///
8886 /// Note: The function return value must be obtained by calling
8987 /// `get_host_return_value`.
90- #[ hyperlight_guest_tracing:: trace_function]
9188 pub fn call_host_function_without_returning_result (
9289 & self ,
9390 function_name : & str ,
@@ -121,7 +118,6 @@ impl GuestHandle {
121118 /// sends it to the host, and then retrieves the return value.
122119 ///
123120 /// The return value is deserialized into the specified type `T`.
124- #[ hyperlight_guest_tracing:: trace_function]
125121 pub fn call_host_function < T : TryFrom < ReturnValue > > (
126122 & self ,
127123 function_name : & str ,
@@ -132,7 +128,6 @@ impl GuestHandle {
132128 self . get_host_return_value :: < T > ( )
133129 }
134130
135- #[ hyperlight_guest_tracing:: trace_function]
136131 pub fn get_host_function_details ( & self ) -> HostFunctionDetails {
137132 let peb_ptr = self . peb ( ) . unwrap ( ) ;
138133 let host_function_details_buffer =
@@ -149,7 +144,6 @@ impl GuestHandle {
149144 }
150145
151146 /// Write an error to the shared output data buffer.
152- #[ hyperlight_guest_tracing:: trace_function]
153147 pub fn write_error ( & self , error_code : ErrorCode , message : Option < & str > ) {
154148 let guest_error: GuestError = GuestError :: new (
155149 error_code,
@@ -165,7 +159,6 @@ impl GuestHandle {
165159 }
166160
167161 /// Log a message with the specified log level, source, caller, source file, and line number.
168- #[ hyperlight_guest_tracing:: trace_function]
169162 pub fn log_message (
170163 & self ,
171164 log_level : LogLevel ,
0 commit comments