summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-05Merge "Perfprofd: Introduce libsimpleperf_dex_read and read vdex files"android-o-mr1-iot-release-smart-display-r3oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseTreehugger Robot
2018-10-05Merge "Add noexcept to move constructors and assignment operators."Treehugger Robot
2018-10-05Add noexcept to move constructors and assignment operators.Chih-Hung Hsieh
Bug: 116614593 Test: build with WITH_TIDY=1 Change-Id: I92ae7348e51e0610cef54b80087189bb1fe5b12c
2018-10-05Merge "Simpleperf: Use defaults to pass static libs"Andreas Gampe
2018-10-04Merge "Add new parameter for creation of MapInfo object."Christopher Ferris
2018-10-04Merge "Simpleperf: Add enh to OWNERS"Treehugger Robot
2018-10-04Merge "partition_tools: Remove references to partition guid."David Anderson
2018-10-04Simpleperf: Add enh to OWNERSAndreas Gampe
Change-Id: I9935bee245c05c09f52bd903b14c6879dd96477d Exempt-From-Owner-Approval: Adding owner Test: N/A
2018-10-04partition_tools: Remove references to partition guid.David Anderson
Bug: 117229984 Test: builds with PRODUCT_USE_LOGICAL_PARTITIONS=true Change-Id: Ibba49f7a066fd190f8431253302f1437f07ba6dd
2018-10-04Merge "Add /data/apex to directories that don't need to be encrypted."Martijn Coenen
2018-10-03Add new parameter for creation of MapInfo object.Christopher Ferris
Bug: 109657296 Test: Unit tests pass. Change-Id: Ifa7ac689467b10728bfbbbfae0c6f78b20b78cda
2018-10-03Merge "partition_tools: Add support for partition groups."Treehugger Robot
2018-10-03Add /data/apex to directories that don't need to be encrypted.Martijn Coenen
There's no user data there, just code. Bug: 112455435 Test: Using an APEX with Direct I/O in /data/apex works again Change-Id: I5e5557445ea5d638d2dfc4db7d782ee2da207bc1
2018-10-02partition_tools: Add support for partition groups.David Anderson
lpmake: Add a new -g/--groups parameter to add partition groups. The syntax is name:size. In addition, a fifth argument can be added to -p/--partition, to specify a group for that partition. Example: lpmake --group google:102400000 \ --partition system:UUID:readonly:4096:google In addition, lpdump will now display the groups table and group assignments. Bug: 116817738 Test: lpmake with --groups lpdump new partition table Change-Id: Ic1eb995f3bcf5abc7be180ac03c8ba4b82a10045
2018-10-03Merge "verity: Support partial blocks in Update()."android-o-mr1-iot-release-1.0.5Sen Jiang
2018-10-02verity: Support partial blocks in Update().Sen Jiang
In update_engine we get data from a callback, usually this will be a multiple of the block size, but that's not guaranteed. Bug: 28171891 Test: build_verity_tree_test Change-Id: I2fdf40e6e3750a86d409885917d3b5aeb77643d1
2018-10-02Perfprofd: Introduce libsimpleperf_dex_read and read vdex filesAndreas Gampe
Add libsimpleperf_dex_read module to allow perfprofd to read and extract symbols from dex files. Use libart to read vdex files for their dex file offsets. Use libsimpleperf_dex_read to find symbols. Bug: 73175642 Test: mmma system/extras/perfprofd Change-Id: Ibe67087692f7ede4caf2d3b98a1cbfad570baa7c
2018-10-02Simpleperf: Use defaults to pass static libsAndreas Gampe
Refactor the blueprint file to pass required static-library dependencies via a defaults object instead of linking them whole-static-libs. This will avoid double linking. Bug: 73175642 Test: mmma system/extras/simpleperf Test: mmma system/extras/perfprofd Test: perfprofd_test Change-Id: I596477748284dfa48dfc1a2202613f7a20a429ee
2018-09-28Merge "verity: Add HashTreeBuilder::CheckHashTree()."Sen Jiang
2018-09-25Merge "Perfprofd: Make the service non-oneshot"Treehugger Robot
2018-09-18Merge "Fix clang-tidy performance warnings in system/extra."Treehugger Robot
2018-09-17Fix clang-tidy performance warnings in system/extra.Chih-Hung Hsieh
* Use more efficient overloaded string methods. Bug: 30411878 Test: build with WITH_TIDY=1 Change-Id: If1a2931cab7f70e4a4bd5fcc06b2ae0260169cd8
2018-09-13Merge "Remove the mkuserimg_mke2fs.sh"Tianjie Xu
2018-09-10Remove the mkuserimg_mke2fs.shTianjie Xu
The shell script is not used as we have switched to the python binary. Test: mma Bug: 112555072 Change-Id: I8849fc91a6d62b58a01b29544f2bc5b24c7df89e
2018-09-08Merge "bootanalyze: Add SysUI timing"Treehugger Robot
2018-09-08Merge "libperfmgr: add additional OWNERS and cpplint config"Treehugger Robot
2018-09-07libperfmgr: add additional OWNERS and cpplint configWei Wang
Test: build Change-Id: Iede2faacfe24e74b817d9c159566998a71d36b7b
2018-09-07bootanalyze: Add SysUI timingWei Wang
Bug: 112049386 Test: bootanalyze.py -r -c system/extras/boottime_tools/bootanalyze/config.yaml -n 10 -g Change-Id: I0a2fcbaaebc3ebbfec399fd3c8a1d977b95f96bb
2018-09-05verity: Add HashTreeBuilder::CheckHashTree().Sen Jiang
Check the built hash tree against a given hash tree in a buffer, used to verify the hash tree when generating OTA. Bug: 28171891 Test: generate a payload with verity hash tree Change-Id: I60d6c3657343438b7720727874ab849e5970e576
2018-09-04Merge changes I10561d93,I05d248a7android-o-mr1-iot-release-1.0.4Treehugger Robot
* changes: Perfprofd: Add TEST_MAPPING Perfprofd: Disable tests when lacking arch_perfmon
2018-09-01Merge "perfprofd: use getHealthInfo for get_charging"Treehugger Robot
2018-08-30Merge "Remove ashmem from system/extras"Joel Fernandes
2018-08-30Merge "perfprofd: add env to disable change of perf_event_paranoid."Yabin Cui
2018-08-30perfprofd: add env to disable change of perf_event_paranoid.Yabin Cui
This is to avoid a cts test failure (which checks the value of perf_event_paranoid) while perfprofd is running. Bug: 111855759 Test: run perfprofd_test and perf_event_paranoid isn't changed. Change-Id: Ifa610a21b560d0eb536cb76914b116bd1e769634
2018-08-30Perfprofd: Add TEST_MAPPINGAndreas Gampe
Bug: 73175642 Test: pushd system/extras/perfprofd ; atest ; popd Change-Id: I10561d93b8c5c01c0bc3e28c1a08d947045905d3
2018-08-30Perfprofd: Disable tests when lacking arch_perfmonAndreas Gampe
Under certain circumstances perf won't be available. As we want to run some tests, anyways, disable the ones that need perf. Bug: 113359952 Test: mmma system/extras/perfprofd Test: perfprofd_test Change-Id: I05d248a7952a5939f9b74729a5809469abeaaa66
2018-08-30Merge "simpleperf: sync JIT debug info with records."Yabin Cui
2018-08-29Merge "Perfprofd: Fix AndroidTest.xml"Treehugger Robot
2018-08-29Perfprofd: Fix AndroidTest.xmlAndreas Gampe
Bug: 73175642 Bug: 113512417 Test: mmma system/extras/perfprofd Test: atest perfprofd_test Change-Id: I3ab707ea91998d99032aca62ff64eb21b922ca17
2018-08-29simpleperf: sync JIT debug info with records.Yabin Cui
To save time, simpleperf doesn't check JIT debug info update each time unwinding a sample. Instead, it checks JIT debug info update every 100ms. So some samples (about 1%) can be failed to unwind because of lacking the latest JIT debug info. This patch fixes it by using monotonic timestamps to sync JIT debug info and samples. It contains below changes: 1. Use monotonic timestamp for records by default if that is supported. 2. Add a priority queue in JITDebugReader to sort existing JIT debug info by timestamp. Each time reading new JIT debug info from remote processes, it is put in the queue. 3. Each time processing a record, JITDebugReader flushes all debug info in the queue generated before the record. So a record only sees JIT debug info generated before it. 4. If unwinding a sample fails because of incomplete JIT debug info, read newest debug info from the process and retry unwinding. Bug: 110923759 Test: run simpleperf manually and check no unwinding fails because Test: of lacking the latest JIT debug info. Change-Id: I769b72a3345f917e5c0f9a9936d19bca536e1153
2018-08-28perfprofd: use getHealthInfo for get_chargingYifan Hong
get_charging returns whether the phone is connected to a charger. The phone can be connected to a charger without actually being charged. Test: perfprofd_test Bug: 112184119 Change-Id: I0b574c73043056c7ceceb38df343ba7c9dce4ebf
2018-08-28Perfprofd: Make the service non-oneshotAndreas Gampe
Let the service be restarted. Bug: 73175642 Test: mmma system/extras/perfprofd Change-Id: Ib8b4cbe0fdcbc0e2926bcab9d9e9107dcdd01851
2018-08-28Merge "Clean up the global -Wno- in system/extras."Elliott Hughes
2018-08-27Merge "simpleperf: update simpleperf prebuilts to build 4977750."Treehugger Robot
2018-08-27simpleperf: update simpleperf prebuilts to build 4977750.Yabin Cui
Taken from branch aosp-master. Bug: none Test: run test.py on linux. Change-Id: I3a086e44fc531e2402159d47bd87e83987ceb960
2018-08-27Clean up the global -Wno- in system/extras.Elliott Hughes
Bug: N/A Test: builds Change-Id: Idde3d0dafba08ffcd12cc9aa3540550e2601a227
2018-08-27Remove ashmem from system/extrasJoel Fernandes
This topic removes ashmem from ART. Changes the names in system/extras too. It only affects "dalvik-" ashmem regions which are the majority. Test: run simpleperf_unit_test. Test: run perfprofd_test. Change-Id: I3ee65c8d401427613b4b17a66af807ab81ff8a80 Signed-off-by: Joel Fernandes <joelaf@google.com>
2018-08-26Merge "Remove -Wno-unused-result from the defaults."Treehugger Robot
2018-08-25Merge "perfprofd: fix test PerfProfdTest.ConfigFileParsing."Treehugger Robot
2018-08-24perfprofd: fix test PerfProfdTest.ConfigFileParsing.Yabin Cui
Bug: none Test: run perfprofd_test. Change-Id: I4aabffc0043fa53c1216648ec184b09a14868f6f