OpenCSD - CoreSight Trace Decode Library
1.3.3
|
Go to the source code of this file.
Functions | |
ocsd_err_t | CreateCustomDecoder (const int create_flags, const void *decoder_cfg, ocsd_extern_dcd_inst_t *p_decoder_inst) |
ocsd_err_t | DestroyCustomDecoder (const void *decoder_handle) |
ocsd_err_t | GetCSIDFromConfig (const void *decoder_cfg, unsigned char *p_csid) |
ocsd_err_t | PacketToString (const void *trc_pkt, char *buffer, const int buflen) |
ocsd_err_t CreateCustomDecoder | ( | const int | create_flags, |
const void * | decoder_cfg, | ||
ocsd_extern_dcd_inst_t * | p_decoder_inst | ||
) |
Required function to create a decoder instance - fills in the decoder struct supplied.
ocsd_err_t DestroyCustomDecoder | ( | const void * | decoder_handle | ) |
Required Function to destroy a decoder instance - indicated by decoder handle
ocsd_err_t GetCSIDFromConfig | ( | const void * | decoder_cfg, |
unsigned char * | p_csid | ||
) |
Required Function to extract the CoreSight Trace ID from the configuration structure
ocsd_err_t PacketToString | ( | const void * | trc_pkt, |
char * | buffer, | ||
const int | buflen | ||
) |
Optional Function to convert a protocol specific trace packet to human readable string