[][src]Function libipt_sys::pt_insn_sync_set

pub unsafe extern "C" fn pt_insn_sync_set(
    decoder: *mut pt_insn_decoder,
    offset: u64
) -> c_int

Manually synchronize an Intel PT instruction flow decoder.

Synchronize @decoder on the syncpoint at @offset. There must be a PSB packet at @offset.

Returns zero or a positive value on success, a negative error code otherwise.

Returns -pte_bad_opc if an unknown packet is encountered. Returns -pte_bad_packet if an unknown packet payload is encountered. Returns -pte_eos if @offset lies outside of @decoder's trace buffer. Returns -pte_eos if @decoder reaches the end of its trace buffer. Returns -pte_invalid if @decoder is NULL. Returns -pte_nosync if there is no syncpoint at @offset.