commit | 0b99a3bbd59d9a15eb2522fadce814df8f1eb5e5 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@google.com> | Tue Jan 30 18:05:59 2018 +0000 |
committer | Sami Kyostila <skyostil@google.com> | Tue Jan 30 18:05:59 2018 +0000 |
tree | 44a14539635c35479196ce7887b593dfca56e1a6 | |
parent | fc97b0457b0bbae28978c46ba9efb5b5f8a0f6f1 [diff] |
Pass trace fd directly to DropBox Pass the trace file descriptor directly to DropBox in order to avoid creating a temporary file in the filesystem (which we would have to clean up in case of crashes). Change-Id: I1a72c79c46b6283e276cf8be3cea639d5700f689
This project is meant to be built both as part of the Android tree and from a standalone checkout
For internal docs see this page
Android is the platform targeted in the first milestones. Right now Linux desktop and OSX are maintained best-effort.
This project uses Android AOSP Gerrit for code reviews and uses the Google C++ style. Currently targets -std=c++11
.
You can use both git cl upload
from Chromium depot tools or Android repo to upload patches.
git cl
is quite convenient as it supports code auto-formatting via git cl format
.
See https://source.android.com/source/contributing for more details about external contributions and CLA signing.
See docs/build_instructions.md
Continuous build and test coverage is available at perfetto-ci.appspot.com. Trybots: CLs uploaded to gerrit are automatically submitted to TravisCI within one minute and made available on the CI page above. The relevant code lives in the infra/ directory.
$ tools/ninja -C out/default (tracing_unittests | tracing_benchmarks) $ out/default/tracing_unittests --gtest_help
Either connect a device in ADB mode or use the bundled emulator.
To start the emulator:$ tools/run_android_emulator (arm | arm64) &
To run the tests (either on the emulator or physical device):$ tools/run_android_test out/default tracing_unittests