crosvm/cros_tracing
Daniel Verkamp 04ac514618 cros_tracing: use Mutex<Option<..>> for trace marker file
This gets rid of the extra OnceCell complexity, since we can now
statically initialize a Mutex.

Also switch to our sync wrapper to avoid the unwrap() calls when locking
the Mutex.

Change-Id: I2b2166135875bc4e5bdad8fca694b4584dd79c4b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5320344
Reviewed-by: Morg <morg@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2024-02-27 00:42:58 +00:00
..
src cros_tracing: use Mutex<Option<..>> for trace marker file 2024-02-27 00:42:58 +00:00
tests cros_tracing: Add trace_marker integration tests 2023-04-12 01:21:39 +00:00
Cargo.toml cros_tracing: use Mutex<Option<..>> for trace marker file 2024-02-27 00:42:58 +00:00