Skip to content

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:

screenshot

About

libraries for various programming languages that make it easy to generate per-process trace files that can be loaded into chrome://tracing

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

45 stars

Watchers

5 watching

Forks

Used by

Contributors

Languages