15.8.4 DTSL trace client read interface

Before a trace client can read trace data, it must get a TraceSourceReader object from the trace capture device. In practice, this means querying the DTSL configuration for the correct trace capture device, several of which might be available within a configuration, and calling the borrowSourceReader() method to get an appropriate TraceSourceReader. Trace data can then be retrieved from the TraceSourceReader. When it finishes reading trace data, the client must then return the TraceSourceReader object to the trace capture device. This is so that the trace capture device knows when there are no clients reading trace, and therefore when it is free to start, or restart, trace collection.
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.