tree: dbec8f1f0c48f67171c1d70385f5d40d0abfb27e [path history] [tgz]
  1. adb_profile_chrome_startup.py
  2. breakpad_file_extractor.py
  3. breakpad_file_extractor_unittest.py
  4. flag_utils.py
  5. metadata_extractor.py
  6. metadata_extractor_unittest.py
  7. OWNERS
  8. PRESUBMIT.py
  9. profile_chrome_startup
  10. README.md
  11. symbol_fetcher.py
  12. symbol_fetcher_unittest.py
  13. symbolize_trace
  14. symbolize_trace.py
  15. symbolize_trace_unittest.py
tools/tracing/README.md

Perfetto Trace Collection Profiling for Chrome Developers

This tool provides a way for chrome developers to collect perfetto traces and symbolize them.

Startup Tracing

The script profile_chrome_startup runs a chrome trace on android, locates the trace file, and automatically copies it to a local folder.

Example Linux Platform Usage:

tools/tracing/profile_chrome_startup --platform=android

Future Work

We are planning to add symbolization support and trace collection for other platforms.

See the google internal design doc for more details pertaining to this tool: https://docs.google.com/document/d/1BJPbcl5SPjOvuRuP1JSFAUPK3ZWNIS7j1h94rPHRzVE