tracing_perfetto_sdk_sys::ffi

Function perfetto_global_init

Source
pub fn perfetto_global_init(
    log_callback: fn(level: LogLev, line: i32, filename: &str, message: &str),
    enable_in_process_backend: bool,
    enable_system_backend: bool,
)
Expand description

Initialize the global tracing infrastructure.

Must be called once before all other functions in this module.