chrometracing
chrometracing copied to clipboard
libraries for various programming languages that make it easy to generate per-process trace files that can be loaded into chrome://tracing
chrometracing: chrome://tracing trace_event files
The chrometracing directory contains libraries for various programming languages that make it easy to generate per-process trace files that can be loaded into chrome://tracing.
Implementation Status
| Language | Status |
|---|---|
| C++ | Implemented |
| Go | Implemented: github.com/google/chrometracing |
| Python | Implemented, but not released |
| Java | Implemented, but not open-sourced |
Go demo
See the _demo
directory for an
example Go program.
After running the demo program, load the resulting chrome trace file from
os.TempDir() (e.g. /tmp on Linux) into
chrome://tracing:
