Function cros_tracing::trace_marker::init
source · pub fn init()
Expand description
Initializes the trace_marker backend. It attepts to open the trace_marker
file and keep a reference that can be shared throughout the lifetime of the
crosvm process.
If tracefs is not available on the system or the file cannot be opened, tracing will not work but the crosvm process will still continue execution without tracing.