Documentation
¶
Overview ¶
Function-level tracing with defer.
Demonstrates a reusable pattern for instrumenting entire functions: call BeginSection at the top and defer EndSection so the section is always closed, even if the function returns early or panics.
This program must run on an Android device. Trace events are only recorded when a trace session is active (e.g. via `perfetto` or `atrace`).
Click to show internal directories.
Click to hide internal directories.