5.8 GenericTrace

GenericTrace is an MTI plug-in that allows you to configure which events are traced, using a comma-separated list of trace sources. Output can be printed to a text file or to the console.

Specify the trace sources of interest as a parameter to the plug-in:

./FVP_VE_Cortex-A15x1-A7x1 \
--plugin $PVLIB_HOME/plugins/Linux64_GCC-5.4/GenericTrace.so \
-C TRACE.GenericTrace.trace-sources=EXCEPTION,EXCEPTION_RETURN

If no trace sources are specified, GenericTrace by default traces all the instructions.

You can trace a specific component by specifying the path to it. For example, to trace cpu0, use the following parameter:

TRACE.GenericTrace.trace-sources=FVP_VE_Cortex_A15x1_A7x1.coretile.cluster1.cpu0.*

To add all the trace sources that match a pattern, use wildcards:

TRACE.GenericTrace.trace-sources=CACHE_*

The source code for this plug-in is provided as a programming example in %PVLIB_HOME%\examples\MTI\GenericTrace\source\.

This section contains the following subsection:
Non-ConfidentialPDF file icon PDF version100964_1161_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.