@@ -35,7 +35,7 @@ use crate::exit::out32;
3535
3636impl GuestHandle {
3737 /// Get user memory region as bytes.
38- #[ hyperlight_guest_tracing_macro :: trace_function]
38+ #[ hyperlight_guest_tracing :: trace_function]
3939 pub fn read_n_bytes_from_user_memory ( & self , num : u64 ) -> Result < Vec < u8 > > {
4040 let peb_ptr = self . peb ( ) . unwrap ( ) ;
4141 let user_memory_region_ptr = unsafe { ( * peb_ptr) . init_data . ptr as * mut u8 } ;
@@ -64,7 +64,7 @@ impl GuestHandle {
6464 ///
6565 /// When calling `call_host_function<T>`, this function is called
6666 /// internally to get the return value.
67- #[ hyperlight_guest_tracing_macro :: trace_function]
67+ #[ hyperlight_guest_tracing :: trace_function]
6868 pub fn get_host_return_value < T : TryFrom < ReturnValue > > ( & self ) -> Result < T > {
6969 let return_value = self
7070 . try_pop_shared_input_data_into :: < ReturnValue > ( )
@@ -85,7 +85,7 @@ impl GuestHandle {
8585 ///
8686 /// Note: The function return value must be obtained by calling
8787 /// `get_host_return_value`.
88- #[ hyperlight_guest_tracing_macro :: trace_function]
88+ #[ hyperlight_guest_tracing :: trace_function]
8989 pub fn call_host_function_without_returning_result (
9090 & self ,
9191 function_name : & str ,
@@ -117,7 +117,7 @@ impl GuestHandle {
117117 /// sends it to the host, and then retrieves the return value.
118118 ///
119119 /// The return value is deserialized into the specified type `T`.
120- #[ hyperlight_guest_tracing_macro :: trace_function]
120+ #[ hyperlight_guest_tracing :: trace_function]
121121 pub fn call_host_function < T : TryFrom < ReturnValue > > (
122122 & self ,
123123 function_name : & str ,
@@ -128,7 +128,7 @@ impl GuestHandle {
128128 self . get_host_return_value :: < T > ( )
129129 }
130130
131- #[ hyperlight_guest_tracing_macro :: trace_function]
131+ #[ hyperlight_guest_tracing :: trace_function]
132132 pub fn get_host_function_details ( & self ) -> HostFunctionDetails {
133133 let peb_ptr = self . peb ( ) . unwrap ( ) ;
134134 let host_function_details_buffer =
@@ -145,7 +145,7 @@ impl GuestHandle {
145145 }
146146
147147 /// Write an error to the shared output data buffer.
148- #[ hyperlight_guest_tracing_macro :: trace_function]
148+ #[ hyperlight_guest_tracing :: trace_function]
149149 pub fn write_error ( & self , error_code : ErrorCode , message : Option < & str > ) {
150150 let guest_error: GuestError = GuestError :: new (
151151 error_code,
@@ -161,7 +161,7 @@ impl GuestHandle {
161161 }
162162
163163 /// Log a message with the specified log level, source, caller, source file, and line number.
164- #[ hyperlight_guest_tracing_macro :: trace_function]
164+ #[ hyperlight_guest_tracing :: trace_function]
165165 pub fn log_message (
166166 & self ,
167167 log_level : LogLevel ,
0 commit comments