summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-22Merge "Teach iproute how to dump IP addresses as well."brillo-m10-releasebrillo-m10-devLorenzo Colitti
2016-02-21Teach iproute how to dump IP addresses as well.Lorenzo Colitti
Change-Id: I38b5182d9110d72758c48da4d0edc7cf0fb84283
2016-02-18Merge "simpleperf: fix build by removing off64_t."Yabin Cui
2016-02-18simpleperf: fix build by removing off64_t.Yabin Cui
Bug: 26962895 Change-Id: I211bacc22c2f6b6b24c639365c706e93d66ce4ac
2016-02-18Merge "simpleperf: report symbols of native libraries in apk file."Yabin Cui
2016-02-17simpleperf: report symbols of native libraries in apk file.Yabin Cui
Changes included: 1. provide interface in read_apk.h to read build id and symbols. 2. report symbols of native libraries in apk file. 3. refactor code in read_elf.cpp and read_apk.cpp. 4. add verbose log. 5. add -o report_file_name option for report command. 6. add corresponding unit tests. Bug: 26962895 Change-Id: I0d5398996e0c29dba4a6f5226692b758ca096bbd
2016-02-17Merge changes I871eb6a2,Ied6f5aae,I226a41e7Lorenzo Colitti
* changes: Add a test for the behaviour of FIN_WAIT sockets. Make the bytecode tests a bit more robust. Rename DisableLinger to DisableFinWait, and add an EnableFinWait.
2016-02-16Merge "simpleperf: accept different perf_attr sizes."Yabin Cui
2016-02-16simpleperf: accept different perf_attr sizes.Yabin Cui
The size of perf_attr can be increased as new features are added. And we can accept different perf_attr sizes in perf.data, and ignore unknown features. Change-Id: Ia42617f92acb3ab6ae56eb91aa0d7b73efc0b8af
2016-02-17Add a test for the behaviour of FIN_WAIT sockets.Lorenzo Colitti
Change-Id: I871eb6a2d3ff889417e6ed02661c8d9a41980e61
2016-02-17Make the bytecode tests a bit more robust.Lorenzo Colitti
They used to require that there were no TCP sockets on the system at all. Now they only require that there be no established sockets. Not a huge improvement, but it does make it possible to write tests that leave-non established sockets around after they terminate. Change-Id: Ied6f5aae3b6cf4a5bd25aa4fbeac637010e1f0e8
2016-02-17Rename DisableLinger to DisableFinWait, and add an EnableFinWait.Lorenzo Colitti
Change-Id: I226a41e7eed6cc5bda04f1fb3a0f1889a10408c0
2016-02-16Merge "Improve sock_diag debugging code."Lorenzo Colitti
2016-02-13Merge "Add missing liblog dependency"Dimitry Ivanov
2016-02-12Add missing liblog dependencyDimitry Ivanov
Bug: http://b/27171986 Change-Id: I508d3cfbcb9e026b0f4a086fc6dd1adeffbffcc3
2016-02-13Merge "Add missing liblog dependency"Dimitry Ivanov
2016-02-12Add missing liblog dependencyDimitry Ivanov
Bug: http://b/27171986 Change-Id: Ifef160cce7f64cd95ceb121e1c311e52352174c4
2016-02-12Merge "Fix clang warnings and leak of full_stats_file ."Chih-hung Hsieh
2016-02-12Merge "Fix memory leak of dirbuf."Chih-hung Hsieh
2016-02-12Fix memory leak of dirbuf.Chih-Hung Hsieh
BUG: 26962062 Change-Id: I5fae9eed5b154205a6780fb28c59fccf0b5b16ec
2016-02-12Fix clang warnings and leak of full_stats_file .Chih-Hung Hsieh
BUG: 27121040 Change-Id: I33a218c7746509278e1222cd5dbd6d4876405b28
2016-02-11Merge "rtc_time: test agent timeouts"Mark Salyzyn
2016-02-11rtc_time: test agent timeoutsMark Salyzyn
Break the test up into four, keeping each well below the 60 second timeout for the test agents. Overhead for the splitting up is an additional 10 seconds in order to complete all four of the tests instead of one. typical single test completion is 22.5 seconds. Change-Id: If8e9a6c7dfd505a9fbc73e9248be4eb2b61521e5
2016-02-11Merge "simpleperf: support building static binary on target."Yabin Cui
2016-02-10simpleperf: support building static binary on target.Yabin Cui
Bug: 27125711 Change-Id: I7e951c9ffb3e056d05a2b3567f482c6862a3a5b3
2016-02-10Merge "Track update to bouncycastle 1.54"Sergio Giro
2016-02-10Track update to bouncycastle 1.54Kenny Root
Change-Id: I87252e179e191c6210d26e4055bee03fb43d8ba7
2016-02-10Merge "Add kernel config tests"Mark Salyzyn
2016-02-10Add kernel config testsMark Salyzyn
A simple start to simple day. Check for evidence of following CONFIGs: CONFIG_MMC_BLOCK_MAX_SPEED=y CONFIG_IPV6=y CONFIG_IP_MULTICAST=y CONFIG_PSTORE=y CONFIG_PSTORE_CONSOLE=y CONFIG_PSTORE_PMSG=y CONFIG_SYSVIPC is not set ToDo: Evidence for all configs in android/configs/android-base.cfg and android/configs/android-recommended.cfg. Most are not possible to directly discover, this is performed on a best effort basis. Bug: 19173869 Bug: 26559308 Change-Id: I0447334fab7781579fab10610d2f7ac1d34e6044
2016-02-10Merge "simpleperf: port read_apk and read_apk/read_elf tests to nonlinux."Yabin Cui
2016-02-08simpleperf: port read_apk and read_apk/read_elf tests to nonlinux.Yabin Cui
Also make following small changes: 1. Manage testdata files like libziparchive. 2. Replace StringToPid() with android::base::ParseInt(). 3. Add tests in read_elf_test. Bug: 26962895 Change-Id: I6603e9f3cea3a013e2618ea003790d102739f843
2016-02-08Merge "libfec: fix thread count calculation"Sami Tolvanen
2016-02-08libfec: fix thread count calculationSami Tolvanen
On systems with a large number of cores, smallish reads may not be able to utilize all the cores. Correctly compute the number of threads we should use. Change-Id: I7a05c144c2b83a2f6083c33a686ced32cce576c4
2016-02-06Merge "Add __s32 define."Christopher Ferris
2016-02-05Add __s32 define.Christopher Ferris
This is needed for the new v4.4.1 kernel headers. Bug: 23789423 Change-Id: I3053cdf895793c38ff1af41ebb560c13fda23215
2016-02-05Improve sock_diag debugging code.Lorenzo Colitti
- Unbreak GetConstantName on modules that contain constants whose names start with "INET_DIAG_BC". - Honour NL_DEBUG when sending dump requests. - Decode sock_diag messages differently depending on whether they are requests or responses. - Print sock_diag bytecode hex-encoded instead of raw. Change-Id: I3cc20ab635d1ff4f137aa0f9ff0ff88b1a37ce72
2016-02-03Merge "Support profiling of shared libs embedded in APKs."Than McIntosh
2016-02-03Merge "Stop living in the '80s."Dan Albert
2016-02-02Stop living in the '80s.Dan Albert
Build fix for GCC. Change-Id: I2215913647a95897dc39b862696e395a1ebcf208
2016-02-03Merge "Fix warnings in system/extras."Dan Albert
2016-02-02Fix warnings in system/extras.Dan Albert
Bug: http://b/26936282 Change-Id: I1b9c6c9bb06944c32abcb871279d056eea0fb11a
2016-02-02Support profiling of shared libs embedded in APKs.Than McIntosh
Some APKs contain shared libraries that the linker handles by mmap'ing directly from their APKs (if the library is uncompressed and the proper manifest flag is set). With this patch simpleperf now breaks out samples on a per-li basis and reports the name of the lib within the APK. Example output: Cmdline: /system/xbin/simpleperf record -a sleep 30 Samples: 140672 of event 'cpu-cycles' Event count: 84111474884 Overhead Command Pid Tid Shared Object 90.22% b_open_from_apk 19066 19066 /data/app/com.android.frameworks.coretests.install_jni_lib_open_from_apk-2/base.apk!lib/armeabi-v7a/libgcdstuff.so 4.85% b_open_from_apk 19066 19066 /data/app/com.android.frameworks.coretests.install_jni_lib_open_from_apk-2/base.apk!lib/armeabi-v7a/libframeworks_coretests_jni.so 1.19% simpleperf 19085 19085 /system/lib/libc.so ... Bug: 22560619 Change-Id: I1e0f2e155e03b33935eac24e104c3fd7b9a7e33c
2016-02-02Merge "Fix/suppress potential memory leaks warnings."Chih-hung Hsieh
2016-02-02Fix/suppress potential memory leaks warnings.Chih-Hung Hsieh
* One simple problem fixed by calling free. * Others are suppressed since we don't care memory leaks in this soon-to-be-obsolete test program. BUG: 26910807 Change-Id: I5ac10115db9644b53e9e8b5fd40a5dc87b2019dc
2016-02-02Merge "simpleperf: use RemoveFileIfExists in libbase."Yabin Cui
2016-02-01simpleperf: use RemoveFileIfExists in libbase.Yabin Cui
Change-Id: Ife16103a5ec86cc6ee2aee4838d1a56a91f54516
2016-01-27Merge changes I3b881be8,I80d97bd5,Id115e8b2Lorenzo Colitti
* changes: Fix lint warnings. Note a 3.18 commit in neighbour_test.py. SOCK_DESTROY is no longer optional.
2016-01-27Fix lint warnings.Lorenzo Colitti
Change-Id: I3b881be8b665ba790e7da79b3560c159d72be1e2
2016-01-26Merge "Remove header from LOCAL_SRC_FILES"Dan Willemsen
2016-01-26Merge "rtc_test: EACCES acceptable for write"Mark Salyzyn