commit | ab23f44a92b86780ca566af84ad44d622cb6c023 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Feb 09 15:37:45 2021 +0000 |
committer | Florian Mayer <fmayer@google.com> | Tue Feb 09 15:37:45 2021 +0000 |
tree | edddb923dbf599d166a160328e81a5aa68f16130 | |
parent | 76f90bde8ef46b04f8aa051cebad4c9e88e42af1 [diff] |
Run perfetto_integrationtests from /data/local/tests. This way they get labeled as shell_test_data_file rather than shell_data_file. That lets us grant more fine-grained SELinux permissions that are restricted to tests. Also, the plan is to make this the default path in the long run, see https://android.googlesource.com/platform/build/soong/+/3b933d31657253e547caab38ef151c7d0e08856d/cc/test.go#349 Test: HEAPPROFD_TEST_PROFILE_OUT=/data/local/tmp ./perfetto_integrationtests/arm64/perfetto_integrationtests --gtest_filter='Run/HeapprofdEndToEnd.*' verify profile has proper symbols Change-Id: I3fd590e8a0ea4b22720853ad24a0cd0f19f49353
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.