Engine Tracing
- Updated2026-07-28
- 2 minute(s) read
The VeriStand engine now includes enhanced tracing capabilities to assist with debugging and analyzing system performance.
These tracing capabilities use the Perfetto Tracing SDK. The VeriStand Engine can be configured to generate tracing events for many of its internal operations. When tracing is enabled, the engine starts the Perfetto tracing system within its process and records these events. This integration allows users to leverage Perfetto's powerful tracing capabilities to analyze and monitor the system's real-time performance and behavior.
Enabling and Disabling Tracing in VeriStand
- In the VeriStand Editor, click .
- Select the desired targets in the Manage Targets tab of the Tool window.
- Check Configure Tracing.
- The Configure Tracing dialog shows whether tracing is enabled for the selected target.
- Click Enable or Disable to enable or disable tracing for the selected target.
Trace Generation
Tracing begins when the system definition file deploys. Tracing ends when the system definition file is undeployed. The trace file is written to /home/lvuser.
Trace Analysis
To begin trace analysis, copy the trace file to your local computer, then load the trace into https://ui.perfetto.dev/.
Modifying Trace Buffer Size
By default, the buffer size is 512 MB. To modify the buffer size, add the following trackEventBufferSizeInKB setting under the [VSPerfetto] section in the INI file located at /c/ni-rt/NIVeriStand/NI VeriStand.ini.
For Example, to set the buffer size to 100 MB, add the following lines:
``` ini [VSPerfetto] trackEventBufferSizeInKB=102400 ```