[−][src]Function libipt_sys::pt_qry_sync_set
pub unsafe extern "C" fn pt_qry_sync_set(
decoder: *mut pt_query_decoder,
ip: *mut u64,
offset: u64
) -> c_int
Manually synchronize an Intel PT query decoder.
Synchronize @decoder on the syncpoint at @offset. There must be a PSB packet at @offset.
If @ip is not NULL, set it to last ip.
Returns a non-negative pt_status_flag bit-vector 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.