occlum/src/libos/src
Tate, Hongliang Tian 5933499f9b Refactor LibOS to conform with logging strategy
This commit introduces a unified logging strategy, summarized as below:

1. Use `error!` to mark errors or unexpected conditions, e.g., a
 `Result::Err` returned from a system call.
2. Use `warn!` to warn about potentially problematic issues, e.g.,
 executing a workaround or fake implementation.
3. Use `info!` to show important events (from users' perspective) in
 normal execution, e.g., creating/exiting a process/thread.
4. Use `debug!` to track major events in normal execution, e.g., the
 high-level arguments of a system call.
5. Use `trace!` to record the most detailed info, e.g., when a system
 call enters and exits the LibOS.
2020-03-25 02:53:31 +00:00
..
builtin Add Occlum.json. No more configs hardcoded in code 2019-08-09 09:19:51 +00:00
error Optimize the perf of sendmsg/recvmsg by allocating untrusted buffers directly 2020-01-23 06:58:51 +00:00
exception Fix the emulation of RDTSC instruction with ocall 2020-03-24 22:06:14 +08:00
fs Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
misc Introduce the new error handling mechanism 2019-10-14 03:50:20 +00:00
net Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
process Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
syscall Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
time Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
untrusted Optimize the perf of sendmsg/recvmsg by allocating untrusted buffers directly 2020-01-23 06:58:51 +00:00
util Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
vm Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00
config.rs Check program paths against entry points in Occlum.json 2019-11-07 02:42:59 +00:00
entry.rs Add the support for setting log level at runtime 2020-03-25 01:40:47 +00:00
lib.rs Refactor the LibOS entry point by introducing system call table 2020-03-25 01:15:18 +00:00
prelude.rs Refactor LibOS to conform with logging strategy 2020-03-25 02:53:31 +00:00