Contributing to Perfetto

This project uses Android AOSP Gerrit for code reviews, uses the Google C++ style and targets -std=c++11.

Development happens in this repo: https://android.googlesource.com/platform/external/perfetto/

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you‘ve already submitted one (even if it was for a different project), you probably don’t need to do it again.

Code Reviews

All submissions, including submissions by project members, require review. We use Android AOSP Gerrit for this purpose.

git cl upload from Chromium depot tools is the preferred workflow to upload patches, as it supports presubmits and code formatting via git cl format.

Continuous integration

Continuous build and test coverage is available at ci.perfetto.dev.

Trybots:
CLs uploaded to Gerrit are automatically submitted to the CI and and available on the CI page. If the label Presubmit-Ready: +1 is set, the CI will also publish a comment like this on the CL.

Community

You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev on Freenode.

This project follows Google's Open Source Community Guidelines.