tree: bc17402cb1668ec76a157f1be5cf325126121414 [path history] [tgz]
  1. adb_profile_chrome_startup.py
  2. breakpad_file_extractor.py
  3. breakpad_file_extractor_unittest.py
  4. display_in_browser.py
  5. flag_utils.py
  6. metadata_extractor.py
  7. metadata_extractor_unittest.py
  8. OWNERS
  9. PRESUBMIT.py
  10. profile_chrome_startup
  11. README.md
  12. rename_breakpad.py
  13. rename_breakpad_unittest.py
  14. symbol_fetcher.py
  15. symbol_fetcher_unittest.py
  16. symbolize_trace
  17. symbolize_trace.py
  18. 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