[][src]Function libipt_sys::pt_blk_alloc_decoder

pub unsafe extern "C" fn pt_blk_alloc_decoder(
    config: *const pt_config
) -> *mut pt_block_decoder

Allocate an Intel PT block 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.