summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-05brillo_config: pull PRODUCT_VERSION from cfgtreebrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devWill Drewry
Add support to read the product version from config/brillo/product_version (cherry picked from commit f01bc2175998a3d13e47dc6afe913ae8f036a89e) BUG=25516395 Change-Id: Id1277112ce7f7c89c9d984ff372bc43007d41016
2015-11-05Populate BRILLO_PRODUCT_ID from the product configWill Drewry
Using cfgtree.mk, add support to load the brillo product id directly from a file in the product tree when configured. BUG=25343470 (cherry picked from commit 00302c248da7a0200d52efbc9754f0b1c67f466a) Change-Id: I7e719ea79e4fd8f034c6c8051acf184c313d1a3b
2015-10-30Merge "simpleperf: support --cpu option in record/stat command."Yabin Cui
2015-10-30simpleperf: support --cpu option in record/stat command.Yabin Cui
--cpu option is used to record on selected cpus. Change-Id: If5bb9b42a064d2ff69fbeec77906fc79943dddc1
2015-10-30Merge "brillo_config: Don't cache the timestamp."Bertrand Simonnet
2015-10-30brillo_config: Don't cache the timestamp.Bertrand SIMONNET
We want the timestamp to change at every build as we may be using the resulting image to generate an update and we need different images to have different versions. Bug: 25358721 Change-Id: I9ae0ae0ba34ea0f508fc3a5f051368e4bce57b61 Test: Build twice in a row, the timestamp is updated.
2015-10-30Merge "ext4_utils: Parse unclean super block"Sami Tolvanen
2015-10-29ext4_utils: Parse unclean super blockJohan Redestig
Dont fail to parse the superblock just because the file system was not unmounted cleanly. Change-Id: I381c3e6c55ef5eb478b53d06d6cc56df1b6f41f4
2015-10-29Merge "libfec: remove verity validation cache"Sami Tolvanen
2015-10-29libfec: remove verity validation cacheSami Tolvanen
Caching block validation results increases libfec memory usage and does not provide comparable benefits in normal use cases, which do not involve re-reading the same blocks. Change-Id: I71ac47a7059b350b16e32207932004f3f147abcb
2015-10-28Merge "Set accept_ra to 2 on all interfaces."Lorenzo Colitti
2015-10-28Merge "Move packet definitions to their own file."Lorenzo Colitti
2015-10-28Set accept_ra to 2 on all interfaces.Lorenzo Colitti
This matches what we do on real devices, and it makes it easier to write tests that use forwarding. Change-Id: I720a75864f8fb30b59ff023c33ef3f82d1f35b4b
2015-10-28Move packet definitions to their own file.Lorenzo Colitti
Change-Id: I68c57311915e2a8dbdb6842dfb87367485fcf819
2015-10-28Merge "Test SIOCKILLADDR on non-empty addresses too."Lorenzo Colitti
2015-10-28Test SIOCKILLADDR on non-empty addresses too.Lorenzo Colitti
Change-Id: Ifddc4e16c4cd59f96048dd517186d0a1f440f02c
2015-10-27Merge "Add a test for timewait crash."Lorenzo Colitti
2015-10-27Merge "Test nuking IPv4 sockets as well as IPv6."Lorenzo Colitti
2015-10-27Merge "Add functional tests for tcp_nuke_addr."Lorenzo Colitti
2015-10-27Add a test for timewait crash.Lorenzo Colitti
Change-Id: I6cbaf2274c002eeef97a62880f31c8546554765e
2015-10-27Test nuking IPv4 sockets as well as IPv6.Lorenzo Colitti
Also, for clarity, use cstruct.Struct to make the ifreq structures instead of hand-packing them. Change-Id: I917d6e38b3db067182ef1c971ff6c676fc2d7431
2015-10-27Add functional tests for tcp_nuke_addr.Lorenzo Colitti
1. Test for the hash table off-by-one error. 2. Test that sockets are closed and read() calls are interrupted with ETIMEDOUT. Change-Id: Id8cdd50f1f5447734c230341f73d71fcfecdddd8
2015-10-27Merge "Support reading /proc/net/tcp[6]."Lorenzo Colitti
2015-10-27Merge "Add support for iif rules."Lorenzo Colitti
2015-10-27Merge "Make host network access optional."Lorenzo Colitti
2015-10-27Merge "Fix ambiguous commit number."Lorenzo Colitti
2015-10-27Merge "Make tcp_nuke_addr_test pass when run more than once."Lorenzo Colitti
2015-10-27Merge "Add some Android-specific kernel options."Lorenzo Colitti
2015-10-27Support reading /proc/net/tcp[6].Lorenzo Colitti
Support the two different TCP socket formats, and move the parsing code to net_test.py so it can be used for other things apart from ping. Change-Id: Iaa10cc323d11834b6ac9429d42708f6cdf89f404
2015-10-27Add support for iif rules.Lorenzo Colitti
On real systems, we use this to set up tethering. Change-Id: I0896191754c81e385a08b325922ad42230980d9e
2015-10-27Make host network access optional.Lorenzo Colitti
This isn't required to run the tests, so it's an unnecessary burden - it needs uml_utilities installed, needs root access, and doesn't even perform a full network setup. Change-Id: I8b0c3783290526909de9fe7d40ecaf7399891ba8
2015-10-26Merge "Simpleperf: Don't load whole perf.data into memory."Yabin Cui
2015-10-26Merge "Always use clang for iotop."Dan Albert
2015-10-26Always use clang for iotop.Dan Albert
iotop makes use of a lambda that uses an `auto` typedef parameter. This is a C++14 feature, and we need to move GCC back to C++11 because GCC 4.9 doesn't have a correct C++14 ABI. Bug: http://b/25022512 Change-Id: I3946bd3d287c99eeee1d570ea46e073828b5c1d2
2015-10-26Merge "Reduce oom_score_adj to zero for perfprofd."Than McIntosh
2015-10-26Fix ambiguous commit number.Lorenzo Colitti
Change-Id: I5081c360a8ab996d7c77e41c099e4acdd65a8ce2
2015-10-23Simpleperf: Don't load whole perf.data into memory.Yabin Cui
perf.data can be too large to be loaded into memory. To avoid this, use fread() instead of mmap() to read perf.data, and always use RecordCache to sort records. Fix unit tests failure caused by previous change. Bug: 25194400 Change-Id: If29dc0bb0ed992ba34202c2cb1a204a1d9123b7a
2015-10-23Reduce oom_score_adj to zero for perfprofd.Than McIntosh
Up until this point perfprofd has inherited a decreased OOM score of -1000 from init -- this doens't make sense given that perfprofd is not a critical system service. This fixes perfprofd to reduce its oom_score_adj to 0. Bug: 25216630 Change-Id: Ica8a300d8c33016bcbd3b0ecd25393828654878e
2015-10-23Merge "Simpleperf: fix some unknown symbols for report result."Yabin Cui
2015-10-22Simpleperf: fix some unknown symbols for report result.Yabin Cui
Using debug shared libraries in /usr/lib/debug on linux host. Match ip addresses with symbols by symbols' virtual addresses instead of file offsets in elf file. Because symbols' file offsets in debug shared libraries are different from those in original shared libraries. Fix overlapped maps. Bug: 24716851 Change-Id: I9cb64958c4de5c7a6c77c3febc5f689cf2df650f
2015-10-23Merge "Simpleperf: do stack unwinding while recording."Yabin Cui
2015-10-22Merge "system/extras: remove BORINGSSL_201509 support."Kenny Root
2015-10-21Merge "Add timing of allocation functions."Christopher Ferris
2015-10-21Add timing of allocation functions.Christopher Ferris
Report the time it takes to execute every different allocation function during the replay. Change-Id: I4e8321409357824c10f2f176b02c7c33538d353b
2015-10-20Merge "Fix lseek argument order."Elliott Hughes
2015-10-20Fix lseek argument order.Elliott Hughes
Change-Id: I782d17a0678d7e74be89c46c42de942129750e55
2015-10-20Merge "brillo_config: add missing mkdir for product rules"Mike Frysinger
2015-10-20brillo_config: add missing mkdir for product rulesMike Frysinger
When doing a clean build, creating this file fails because the dir does not yet exist: echo "" > out/target/product/brilloemulator_arm/obj/ETC/product_id_intermediates/product_id /bin/bash: out/target/product/brilloemulator_arm/obj/ETC/product_id_intermediates/product_id: No such file or directory BUG: 24585672 Change-Id: I9c4a646b8d86cd303b0114f9b64d02896797f720
2015-10-20Merge "libfec: add a function to disable verity"Sami Tolvanen
2015-10-20libfec: add a function to disable veritySami Tolvanen
Add fec_verity_set_status to allow disabling verity on userdebug builds by updating metadata magic. Change-Id: I02f83b0d1d4e7ef5cd5d13a37ff0b84f17e23376