libipt_sys

Function pt_evt_alloc_decoder

Source
pub unsafe extern "C" fn pt_evt_alloc_decoder(
    config: *const pt_config,
) -> *mut pt_event_decoder
Expand description

Allocate an Intel PT event decoder.

The decoder will work on the buffer defined in @config, it shall contain raw trace data and remain valid for the lifetime of the decoder.

The decoder needs to be synchronized before it can be used.