|
||
This section provides details on outputting traces.
Before starting the device, the Trace Collector has to perform the following tasks to obtain trace information:
Manually or programmatically, set the filter options in the ULogger configuration file.
Select and activate the output plug-in to capture the trace data stream.
Configure the setting for the active plug-in.
Start the ULogger server to generate output.
Run the trace-instrumented component or application.
Stop the ULogger server from tracing.
Ensure that the output log file has been transferred to the host.
Post-process the output log file.
The Trace Collector can optimise tracing performance by setting the
configuration options in the uloggerconfig.ini
configuration file.
The optimisation is based on the following settings:
Setting the buffer mode
option to
straight
.
Setting the buffer size
option to a valid value.
Setting the data notification size
option to a valid
value.
Selecting the correct combination of filters, according to the environment and requirement.
Ensuring that either minimal traces are dropped or intrusion is minimised.
For recommended configuration settings and details, see Recommended settings for ULogger configuration file.
There is a reference default uloggerconfig.ini
configuration
file shipped with the ULogger engine that provides default settings allowing a
Trace Collector, who is new to trace, to easily start obtaining trace. For
details, see ULogger command syntax.