pub unsafe extern "C" fn pt_insn_get_sync_offset(
decoder: *const pt_insn_decoder,
offset: *mut u64,
) -> c_intExpand description
Get the position of the last synchronization point.
Fills the last synchronization position into @offset.
Returns zero on success, a negative error code otherwise.
Returns -pte_invalid if @decoder or @offset is NULL. Returns -pte_nosync if @decoder is out of sync.