pub unsafe extern "C" fn pt_alloc_encoder(
config: *const pt_config,
) -> *mut pt_encoderExpand description
Allocate an Intel PT packet encoder.
The encoder will work on the buffer defined in @config, it shall contain raw trace data and remain valid for the lifetime of the encoder.
The encoder starts at the beginning of the trace buffer.