Skip to content

Commit

Permalink
Trace state initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph M. Wintersteiger <[email protected]>
  • Loading branch information
Christoph M. Wintersteiger committed Aug 25, 2020
1 parent 9193625 commit 24332ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/enclave/enclave_oe.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ int sgxlkl_enclave_init(const sgxlkl_shared_memory_t* shared_memory)
// point onwards
sgxlkl_enclave_state.trace_enabled.verbose =
sgxlkl_enclave_state.config->verbose;
sgxlkl_enclave_state.trace_enabled.internal_syscall =
sgxlkl_enclave_state.config->trace.internal_syscall;
sgxlkl_enclave_state.trace_enabled.lkl_syscall =
sgxlkl_enclave_state.config->trace.lkl_syscall;
#endif

SGXLKL_VERBOSE("enter\n");
Expand Down Expand Up @@ -461,4 +465,3 @@ void sgxlkl_debug_dump_stack_traces(void)
lthread_dump_all_threads(false);
#endif
}

0 comments on commit 24332ff

Please sign in to comment.