pub unsafe extern "C" fn pt_insn_alloc_decoder(
config: *const pt_config,
) -> *mut pt_insn_decoderExpand description
Allocate an Intel PT instruction flow 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.