Tracing applications allows developers to visually examine executions and can help detect performance anomalies. While nOS-V already supports generating lightweight traces through the ovni library, NODES can generate additional events that are combined with nOS-V traces.
To enable ovni tracing, both NODES and the underlying nOS-V runtime must be built with ovni support using the
--with-ovni option, which should point to a valid ovni installation.
Then, instrumentation must be enabled through:
-
- nOS-V's configuration
-
- NODES' configuration by setting the
ovni.enabled=trueoption.
- NODES' configuration by setting the
The resulting trace will be stored in the ovni/ directory and can be converted into a Paraver trace using the ovniemu utility.
The Paraver configuration files (views) are available in the ovni/cfg directory.
See the ovni documentation for more details.