Function ocsd_dt_process_data

Source
pub unsafe extern "C" fn ocsd_dt_process_data(
    handle: dcd_tree_handle_t,
    op: ocsd_datapath_op_t,
    index: ocsd_trc_index_t,
    dataBlockSize: u32,
    pDataBlock: *const u8,
    numBytesProcessed: *mut u32,
) -> ocsd_datapath_resp_t
Expand description

Input trace data into the decoder.

Large trace source buffers can be broken down into smaller fragments.

@param handle : Handle to decode tree. @param op : Datapath operation. @param index : Trace buffer byte index for the start of the supplied data block. @param dataBlockSize : Size of data block. @param *pDataBlock : Pointer to data block. @param *numBytesProcessed : Number of bytes actually processed by the decoder.

@return ocsd_datapath_resp_t : Datapath response code (CONT/WAIT/FATAL)