A.12.7. CADIProfiling::CADIProfileGetTrace()

This gets the results of a trace session. The block parameter contains the PC values that have been executed by the target.

virtual CADIReturn_t CADIProfiling::CADIProfileGetTrace(uint32_t blockIndex,
                                             uint32_t blockSlots,
                                             uint32_t * blockCount,
                                             CADITraceBlock_t * block) =0;

where:

blockIndex

is the start index of the trace block.

blockSlots

is the number of spaces available to fill. The target must not fill more than this number of elements in the block array.

blockCount

is the number of samples being returned.

block

is the list of executed addresses and overlay events in time sequential order. The blocks in the array must be sorted by time executed and block[0] must contain the most recently executed address or event. If multiple program memory spaces exist, and execution uses multiple spaces during execution, separate blocks must exist for each memory space. The block array is allocated, and deallocated if applicable, by the caller and filled in by the target. See CADITraceBlock_t.

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F
Non-ConfidentialID110210