Exporting Memory Analysis data
QNX Tool SuiteIntegrated Development Environment User's GuideDeveloperSetup
You can export Memory Analysis sessions to XML files if you want to share analysis results. You can also export event data to CSV files if you want to view the data in a spreadsheet application.
-
Select Next.
, then click Alternatively, if the Analysis Sessions view is open, you can right-click any Memory Analysis session and choose Export Session.
-
In the Export window, select the sessions for which you want to export data.
The Memory Analysis sessions are listed from oldest (at the top) to newest (at the bottom), with checkboxes for selecting individual sessions. There are also Select All and Deselect All buttons.
-
In the Output File field, specify the file for storing the data.
You can enter an absolute host path or click Browse to choose a directory from a file selector. You must enter a file name in the selector window. The file extension is preset depending on which radio button is currently selected in Options.
-
In the Options panel, choose the output details.
The Export all option is selected by default and lets you export all selected sessions to a single XML file. The other four options let you export the data from a specific event type to a CSV file:
- Export memory events — Allocation and deallocation events
- Export runtime errors — Memory errors or leaks detected by the tool
- Export bin events — Events related to bins, which group allocations based on byte size ranges
- Export band events — Events related to bands, which are small blocks of preallocated memory
If you choose to export the data for an event type, you can check Generate header row to include column headers that display field names in the output file.
-
Click Finish.
The IDE writes the data from the selected sessions to the output file, in the format indicated by the Options panel. If you specified an existing file, the IDE asks if you want to overwrite it.
Page updated: