pub unsafe extern "C" fn pt_evt_get_sync_offset(
decoder: *const pt_event_decoder,
offset: *mut u64,
) -> c_intExpand description
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.