The Vitis Analyzer must be used to view and analyze trace data. After the trace data has been captured either using XRT or XSDB, you should have all the data needed to open the Event Trace view in the Vitis Analyzer.
Figure 1. Event Trace in Vitis Analyzer
Open the run summary file with the Vitis Analyzer to view event trace data. An example of the XSDB flow is as follows:
vitis_analyzer ./aie_trace_profile.run_summary
An example of the XRT flow is as follows:
vitis_analyzer ./xrt.run_summary
Limitations
- Due to limited resources, overruns can be seen from event trace. Refer to Using Multiple Event Trace Streams to configure the number of trace streams to minimize the overruns issue.
- For detailed event trace information, the
--xlopt=0
option must be specified in compile. If omitted, the default setting--xlopt=1
is used which might cause functions to be in-lined and limits debug capability. - Host code is required to invoke
graph.end()
to ensure that the XRT flow completes properly.