A.12.4 CADIProfiling::CADIProfileTraceControl()

This method starts, stops, and resets recording the execution trace.

virtual CADIReturn_t CADIProfiling::CADIProfileTraceControl(
                                    CADITraceBufferControl_t bufferArg,
                                    CADITraceControl_t control,
                                    CADITraceOverlayControl_t overlay) = 0;
bufferArg
sets what to do when the buffer is full, that is, either wrap or stop.
control

defines the tracing behavior, and is one of these values:

  • CADI_TRACE_CNTL_StartContinuous.
  • CADI_TRACE_CNTL_StartDiscontinuity.
  • CADI_TRACE_CNTL_Stop.
overlay

selects overlay mode, and is one of these values:

  • If CADI_TRACE_OVERLAY_Memory, overlay events must be included in the trace output at the expense of not being able to see inside the trace manager.
  • If CADI_TRACE_OVERLAY_Manager, the trace data must include the overlay manager code at the expense of not knowing the details about the memory regions that are overlaid.
Non-ConfidentialPDF file icon PDF version100963_0200_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.