[][src]Function libipt_sys::pt_qry_get_sync_offset

pub unsafe extern "C" fn pt_qry_get_sync_offset(
    decoder: *const pt_query_decoder,
    offset: *mut u64
) -> c_int

Get the position of the last synchronization point.

Fills the last synchronization position into @offset.

This is useful for splitting a trace stream for parallel decoding.

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.