summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-11simpleperf: check perf event limit.Yabin Cui
am: 92c688b1f7 Change-Id: Ia53e2043e66f91a791e97353e7937ef1a4050d69
2016-06-10simpleperf: check perf event limit.Yabin Cui
The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that. Bug: 29054680 Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686 (cherry picked from commit ebf79f3a65c81ef0f8cd7a3b875771be88157fcc)
2016-06-07Do not build multinetwork tools when targeting the PDKErik Kline
am: 600c6341e6 * commit '600c6341e62c165c60f526174d965cc7f1b30c38': Do not build multinetwork tools when targeting the PDK Change-Id: I1475ee586faf10942e805c51290d83aa1998cb5e
2016-06-07Do not build multinetwork tools when targeting the PDKErik Kline
Bug: 29071416 Change-Id: Ie39cad3151907aabbf523895d6cde37b82ff29a2
2016-06-07libfec: return raw and corrected verity metadata signaturesSami Tolvanen
am: 65cbaeb020 * commit '65cbaeb020b209f3d75d594ebbe49a609dd3c7e7': libfec: return raw and corrected verity metadata signatures Change-Id: I77bb88a549c2da0ed69f36d80ca6d93ed91a163b
2016-06-06libfec: return raw and corrected verity metadata signaturesSami Tolvanen
Since it's not possible for libfec to identify whether the signature field was successfully corrected, return both and allow the caller to validate either signature. Bug: 28943429 Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19
2016-06-06Merge "Introduce squashfs compression threshold" into nyc-mr1-devMohamad Ayyash
2016-06-03Introduce squashfs compression thresholdMohamad Ayyash
If we can't beat that compression ratio for a single block then we leave it uncompressed. The choice of the threshold depends on the cost of I/O in a specific device which is determined from block I/O speed and CPU speed. BUG: 29058965 Change-Id: I8d17a4551c7d00ddb85687381b7cb0d6c60babf6 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-05-31Add multinetwork debugging tools, dnschk and httpurlErik Kline
am: 871e63d9b7 * commit '871e63d9b7e584bc398dd4aa983cf561a5e8394e': Add multinetwork debugging tools, dnschk and httpurl Change-Id: Iffea34208fb19daa3b1f2c015364dff3a6542498
2016-05-30Add multinetwork debugging tools, dnschk and httpurlErik Kline
Bug: 19537384 Bug: 27199751 Bug: 28719525 Change-Id: Ie983ec12ac6c550fa76c89cd44343220688a99b4
2016-05-27ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 ↵Zhengyin Qian
am: 4b7f0b27a2 am: 27879586ff * commit '27879586fff26d5ac1864f57bf441a39f8ab9315': ANRdaemon: add README and a bash script to easily get trace. Change-Id: Ib39181c0fd9901619a8a300f8a358e8918471e5b
2016-05-27ANRdaemon: add a few new trace options and poke all userland services am: ↵Zhengyin Qian
5b42895d33 am: ecb5849a5d am: 90ce7ac45f * commit '90ce7ac45f183aad12151d691f82a4a9c9a78f2f': ANRdaemon: add a few new trace options and poke all userland services Change-Id: I31faaec8cfcc377ae4f7fc12cc94e634503df04a
2016-05-27ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: ↵Zhengyin Qian
c33bbcd4c7 am: 05d982d4ed * commit '05d982d4edde37937c9a6fdb97e36a492e18f7d5': ANRdaemon: increase the CPU threshold resolution to 0.01% Change-Id: If7ad5c8aa7fa2b1314ed33ad0eb4f29d82ad4fa5
2016-05-27ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67Zhengyin Qian
am: 4b7f0b27a2 * commit '4b7f0b27a267e5e10894bbf438dec15e534e4cc4': ANRdaemon: add README and a bash script to easily get trace. Change-Id: I0ea20dd173cfaef70df4d07672810ca233fcb5f2
2016-05-27ANRdaemon: add a few new trace options and poke all userland services am: ↵Zhengyin Qian
5b42895d33 am: ecb5849a5d * commit 'ecb5849a5d8cc59828c66910f2096ac44e455ca3': ANRdaemon: add a few new trace options and poke all userland services Change-Id: Id35a4a5d9ccab90c0ab661e835fcd55787efa09a
2016-05-27ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81Zhengyin Qian
am: c33bbcd4c7 * commit 'c33bbcd4c7a2700f28af68a8673bec71ec92aacc': ANRdaemon: increase the CPU threshold resolution to 0.01% Change-Id: Ib6cc29b5ac94344c9c7a9766b6548563da060888
2016-05-27ANRdaemon: add README and a bash script to easily get trace.Zhengyin Qian
am: 9e90477a67 * commit '9e90477a678b5b5fa6ac6dd7e78770746d6c50bf': ANRdaemon: add README and a bash script to easily get trace. Change-Id: Ief3f17421cc970a6b8676921b414d093c43ea880
2016-05-27ANRdaemon: add a few new trace options and poke all userland servicesZhengyin Qian
am: 5b42895d33 * commit '5b42895d33d72e74e3e3446e1d43fc541fbf404f': ANRdaemon: add a few new trace options and poke all userland services Change-Id: Ic1eac97f0b965cc8f1e2b73f26456975150acb48
2016-05-27ANRdaemon: increase the CPU threshold resolution to 0.01%Zhengyin Qian
am: 6d25c0bd81 * commit '6d25c0bd81eee66810339d5db3d1ecd48691d229': ANRdaemon: increase the CPU threshold resolution to 0.01% Change-Id: I4b8feac7f8908943ae543f096e97896e50963697
2016-05-27Get encryption mode for policyPaul Lawrence
Get encryption mode from the file saved out in vold Bug: 28905864 Change-Id: I472a5f3f5f348943a968373910de23ad1b20b138
2016-05-27Revert "Add fileencrypted=software/ice to fstab options"Paul Lawrence
This reverts commit e8299d81a18d16b006019f37ec9d84921d5ff845. Bug: 28905864 Change-Id: I077f1ce7337c7ff42be67fb7acbb80ce5ee9b9ba
2016-05-26ANRdaemon: add README and a bash script to easily get trace.Zhengyin Qian
Bug: 28989601 Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae
2016-05-26ANRdaemon: add a few new trace options and poke all userland servicesZhengyin Qian
Bug: 28989601 Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286
2016-05-26ANRdaemon: increase the CPU threshold resolution to 0.01%Zhengyin Qian
Bug: 28989601 Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2
2016-05-24Disable fragments for squashfsMohamad Ayyash
BUG: 28920352 BUG: 22322817 Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-05-11Add fileencrypted=software/ice to fstab optionsPaul Lawrence
Bug: 28616054 Change-Id: I34257870d388993d168f6541ef51ee2ce1067a7e
2016-05-10Fail with an error if we can\'t read the policy for encryptionPaul Crowley
am: 8d53b9619b * commit '8d53b9619ba913354ffdb23acf0108f7445bb8bc': Fail with an error if we can't read the policy for encryption Change-Id: I56e185bc0ee583d3a966e072dc34ed24af21ed39
2016-05-10Fail with an error if we can't read the policy for encryptionPaul Crowley
The absence of a policy reference in the unencrypted directory now causes e4crypt_set_directory_policy to fail with an error. Callers should call e4crypt_is_native (now moved into here) before calling this. Bug: 28318405 Change-Id: I209292aba3abad3b19105c9afe2b84e8b3dd6874
2016-05-06Fix LOCAL_CPP_EXTENSION.Ying Wang
Bug: 28622149 Change-Id: I785b9bdf90f77ed87c41542f3bd010c6b7356069 (cherry picked from commit 070b6199012eaf0c962f2ff4313551b13735198d)
2016-04-29Incr Ext4: Properly merge block_allocation listsMohamad Ayyash
am: f7124d6c95 * commit 'f7124d6c955c0453361b0ff47c5c94619e68087f': Incr Ext4: Properly merge block_allocation lists Change-Id: I9d343f1762c183aaf4cacd9f7fd613af174896e3
2016-04-29Incremental Ext4 Bug: prevent out of bound boundary allocationsMohamad Ayyash
am: d2ed02a940 * commit 'd2ed02a94086e1221041bc59825add3d0a657e19': Incremental Ext4 Bug: prevent out of bound boundary allocations Change-Id: I25c596b4db090b92ad475fb211e4b43a7dd2856b
2016-04-29Incr Ext4: Properly merge block_allocation listsMohamad Ayyash
BUG: 27698960 Change-Id: Ia31b8319e0d1c8644ae1798116007a4b35c39e9b Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-28Incremental Ext4 Bug: prevent out of bound boundary allocationsMohamad Ayyash
This happens around the boundary of block groups where a slightly different block boundary is set based on size of filesystem which means allocations based on a previous filesystem layout need to verify they're not crossing that new bounday BUG: 27698960 Change-Id: I45d444b4477f14f71e8f17144523505a7525b4e2 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-19make_ext4fs: Modify ext4 filesystem setup to speed up fsckMohamad Ayyash
am: dedf8f9705 * commit 'dedf8f9705df13e1fd07d3f754216d34725bb269': make_ext4fs: Modify ext4 filesystem setup to speed up fsck Change-Id: If03e8e8ef5ea07d979e8049beaf8301cc590beb3
2016-04-15make_ext4fs: Modify ext4 filesystem setup to speed up fsckMohamad Ayyash
1) Set EXT4_BG_INODE_UNINIT so fsck will skip scanning unused inodes 2) Use EXT4_FEATURE_RO_COMPAT_GDT_CSUM to enable group descriptor checksums in filesystem which reduces overhead for fsck BUG: 24747200 BUG: 28013112 Change-Id: I118ab26935442f452962b3a7c29c61acf76ad4d9 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-14simpleperf: use libbacktrace_offline static library.Yabin Cui
Device may not have libbacktrace_offline shared library, so always using libbacktrace_offline static library. Use simpleperf namespace to avoid conflicts with ThreadEntry in libbacktrace. Bug: 28152982 Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c (cherry picked from commit 040f7b4c62ce49f0af0746640e94d415764262cd)
2016-04-08Merge "Remove canned_fs_config from ext4_utils" into nyc-devMohamad Ayyash
2016-04-07Remove canned_fs_config from ext4_utilsMohamad Ayyash
It is now also used in mksquashfs so it was added to libcutils BUG: 27467028 Change-Id: I81c87938d5b6b200a8ad817f0c64c5ca699f451c Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-06Use default path for mmapPerf binariesJulien Desprez
Change-Id: Ic6994988152942e162e0b977afe48144b4d8bb32
2016-04-05Convert mmapPerf to google-benchmarkJulien Desprez
Bug: 24272167 Change-Id: I831c9d26495e77e041a9461ddbafc70d7d11f9b7
2016-04-04Make squashfs work on BSD and macOSJaewan Kim
Change-Id: Ie025a3d70237a7a959203d8cd066d05acf9e94b2
2016-03-31Use default path to put benchmark binariesJulien Desprez
In order to keep all the benchmark binaries in the same output place. Change-Id: I188f7933c230d8955905217b915899dd19e614bf
2016-03-29Simpleperf: add test for reporting callgraph of shared libraries in apk file.Yabin Cui
Also add comment for how to generate each perf.data in testdata/. Add --log <leve> argument in unit test to help debugging. Bug: 26962895 Change-Id: Iaa5a81cd8da5174d5b5b4e7847811e2432bf0db8 (cherry picked from commit 8f680f60dc800bec880c5c35bfbc1ac36165e1f3)
2016-03-29Merge "Update binder benchmark to use google-benchmark" into nyc-devJulien Desprez
2016-03-29Fix pagecache live stats.Tim Murray
Broke this while adding app filtering. Change-Id: Ie9d4ae3b7f99169a15c04b9e2bc11d1cb2a62a95
2016-03-29Update binder benchmark to use google-benchmarkJulien Desprez
Bug: 26449138 Change-Id: Ie91d114bf669c686f618c252e58feff4c853ef91
2016-03-28Merge "Simpleperf: remove dependency on global current_arch." into nyc-devYabin Cui
2016-03-26Simpleperf: remove dependency on global current_arch.Yabin Cui
When running unit tests on arm64 devices: [OK] ReportCommandTest.dwarf_callgraph [OK] record_cmd.dwarf_callchain_sampling. ERROR: can't unwind data recorded on a different architecture. It is because ReportCommandtest.dwarf_callgraph opens a perf.data recorded on x86_64, and changes current_arch. It causes a problem when the test record_cmd.dwarf_callchain_sampling calls libbacktrace built on aarch64. Athough it doesn't make the test fail, we should fix this. Bug: 27860749 Change-Id: I2cd70369a769ef2199cab2302b8b824369be0907 (cherry picked from commit 48460892306fbc232d7623b1aa5be1aefdc1a8a7)
2016-03-26simpleperf: don't looking for _text symbol in /proc/kallsyms.Yabin Cui
simpleperf looks for _text symbol in /proc/kallsyms to get kernel address space information. But that info is no longer needed. As some kernels don't have _text symbol, we should remove the corresponding code. Bug: 27814103 Change-Id: I4eb9869b58c51846c99b1204f304cd107a0eb354 (cherry picked from commit 7134f388ccdccb4a5e3025254002a85333a72a70)
2016-03-22aslr_test: Fix typo.dcashman
Bug: 26512380 Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6