5.7 GenericTrace

GenericTrace is an MTI plug-in that allows you to configure which events are traced, using a comma-separated list of trace sources.

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 one processor use the following command:

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 in %PVLIB_HOME%\examples\MTI\GenericTrace\.

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