Function blaze_symbolize_cache_process

Source
#[no_mangle]
pub unsafe extern "C" fn blaze_symbolize_cache_process(
    symbolizer: *mut blaze_symbolizer,
    cache: *const blaze_cache_src_process,
)
Expand description

Cache VMA meta data associated with a process.

Cache VMA meta data associated with a process. This will speed up subsequent symbolization requests while also enabling symbolization of addresses belonging to processes that exited after being cache this way.

If this method fails, any previously cached data is left untouched and will be used subsequently as if no failure occurred. Put differently, this method is only effectful on the happy path.

The function sets the thread’s last error to either blaze_err::OK to indicate success or a different error code associated with the problem encountered. Use blaze_err_last to retrieve this error.

§Safety