If you are unfamiliar with the Fuchsia tracing system, see Fuchsia tracing system.
These guides describe the steps necessary to add tracing to your Fuchsia components:
Note: If you are unfamiliar with tracing, you should complete these guides sequentially. However, you can also use each guide individually.
- Registering a trace provider
- Adding tracing in your code
- Recording a trace
- Converting and visualizing a trace
These guides are for advanced users who already understand the basics of tracing in Fuchsia: