pt_blk_alloc_decoder

Function pt_blk_alloc_decoder 

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

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.