f88614dbcd
a few doc fixes
917 B
917 B
Generating a Critical Trace
.. toctree::
:glob:
:maxdepth: 4
Overview
A critical trace is defined in omnitrace as the most time-consuming path through a parallelized code. The steps for generating a critical trace are:
- Enable the
OMNITRACE_CRITICAL_TRACEsetting - Configure any other relevant critical-trace settings, as needed
omnitrace-avail --categories settings::critical_trace
- Execute application
- Locate the JSON files with
call-chainin their name - Provide these files to the
omnitrace-critical-traceexecutable - Open generated perfetto file in ui.perfetto.dev
omnitrace-critical-trace Executable
The omnitrace-critical-trace executable post-processes one or more call-chain JSON files and generates a perfetto output
for visualizing the critical trace.
INCOMPLETE
This executable is still under-development.