You can interface with barman and instruct it to store capture data in a RAM buffer, or to stream the data, and write it to an external data storage backend of your choice.
Note
Collecting profiling data with barman is not supported for Cortex®-M targets.
Barman allows you to collect capture data in the RAM buffer on your target, or to stream the data using a trace probe (such as a DSTREAM). The captured or streamed data can then be:
Processed and saved by a debugger:
To learn about processing profile data stored on an on-target RAM buffer, see: Profiling with on-target RAM buffer.
To learn about processing profile data streaming from your target, see: Profiling with System Trace Macrocell and Profiling with Instrumentation Trace Macrocell.
Processed or streamed directly to your own data handler or storage:
To learn about writing data from the on-target RAM buffer to your own storage location, see: Write barman profile data in the memory buffer to custom storage.
Note
When processing data stored in a RAM buffer, your in-memory buffer must be large enough to hold this data until the end of the capture when that data can be written out.
To learn about writing data to your own storage location instead of the on-target RAM buffer, see: Write barman profile data to custom storage.
When data is streamed to your own storage location, you do not need to provide as much memory in advance, and can capture a lot more data over a longer period of time.
Note
You can also use this mechanism to stream data off the target, as your capture continues to run, either through your network or through physical device connection cables (for example, USB).
This method is only supported in Arm® Streamline Performance Analyzer version 8.7, and later versions.