@@ -23,13 +23,13 @@ use hyperlight_common::flatbuffer_wrappers::function_types::{FunctionCallResult,
2323use hyperlight_common:: flatbuffer_wrappers:: guest_error:: { ErrorCode , GuestError } ;
2424use hyperlight_guest:: error:: { HyperlightGuestError , Result } ;
2525use hyperlight_guest:: exit:: halt;
26- use tracing:: { Span , instrument} ;
26+ use tracing:: instrument;
2727
2828use crate :: { GUEST_HANDLE , REGISTERED_GUEST_FUNCTIONS } ;
2929
3030type GuestFunc = fn ( & FunctionCall ) -> Result < Vec < u8 > > ;
3131
32- #[ instrument( skip_all, parent = Span :: current ( ) , level= "Trace ") ]
32+ #[ instrument( skip_all, level = "Info ") ]
3333pub ( crate ) fn call_guest_function ( function_call : FunctionCall ) -> Result < Vec < u8 > > {
3434 // Validate this is a Guest Function Call
3535 if function_call. function_call_type ( ) != FunctionCallType :: Guest {
@@ -85,7 +85,7 @@ pub(crate) fn call_guest_function(function_call: FunctionCall) -> Result<Vec<u8>
8585// This function may panic, as we have no other ways of dealing with errors at this level
8686#[ unsafe( no_mangle) ]
8787#[ inline( never) ]
88- #[ instrument( skip_all, parent = Span :: current ( ) , level= "Trace" ) ]
88+ #[ instrument( skip_all, level = "Trace" ) ]
8989fn internal_dispatch_function ( ) {
9090 let handle = unsafe { GUEST_HANDLE } ;
9191
@@ -119,7 +119,7 @@ fn internal_dispatch_function() {
119119// This is implemented as a separate function to make sure that epilogue in the internal_dispatch_function is called before the halt()
120120// which if it were included in the internal_dispatch_function cause the epilogue to not be called because the halt() would not return
121121// when running in the hypervisor.
122- #[ instrument( skip_all, parent = Span :: current ( ) , level= "Trace ") ]
122+ #[ instrument( skip_all, level = "Info ") ]
123123pub ( crate ) extern "C" fn dispatch_function ( ) {
124124 // The hyperlight host likes to use one partition and reset it in
125125 // various ways; if that has happened, there might stale TLB
0 commit comments