summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-13Dump kernel/modules/thread mmap information in `simpleperf record`.Yabin Cui
Bug: 19483574 Change-Id: Ia65cb12804a6dffa440501736a6229b2f7248958 (cherry picked from commit 7d59bb49fb47fbc82ef5c77d7aebf7174fd996e1)
2015-05-14Merge "Implement simpleperf record/dumprecord subcommands." into mnc-devYabin Cui
2015-05-13Implement simpleperf record/dumprecord subcommands.Yabin Cui
(cherry picked from commit 9759e1b1ce76185aa539aeea2fb1cbd8382156e7) Bug: 19483574 Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
2015-05-13Add sequence number to encoded perf.data file.Dehao Chen
Bug: 19483574 (cherry picked from commit f4605017b29dd98232af9385e71079a3ba0297f1) Change-Id: I0ca00ce1a4695f2543da3a24987e9cbbeb22cc09
2015-05-13system/extra: include more of what you use.Adam Langley
This is a reland of aa24bc89b78a5981df7618bdef78b7b49ffad14d which was reverted in 291e20dab39783c7074191ff2d2de9b86465c10f because it broke the git_master-gpl builder. This version of the change uses crypto.h as a proxy for mem.h because it'll work in both BoringSSL and OpenSSL. (cherry picked from commit a83adf6354f3073a1938ffcd6cadd5c357856de5) Bug: 21085331 Change-Id: I9e4c9e4d459c2e31f74180b3a3b2ab139ab76e80
2015-05-07Separate the destination directory to /data/misc/perfprofd.Dehao Chen
Remove reading of aux-config. Bug: 19483574 (cherry picked from commit 58bade36c738ed96137cfcc8d15f0505f085b5ae) Change-Id: I019540197561d13d99640a8ff7042c20b58d9b9f
2015-05-05Change the encoded file's mode to be readable by GMS core.Dehao Chen
Bug: 19483574 (cherry picked from commit adc45b2517a336e152aaa8ffbf19a505547f7d77) Change-Id: I0ec40f7571d9b400bc37f2ebe7a268d1cb8dfe82
2015-04-30Update simpleperf path to /system/xbin/simpleperf.Dehao Chen
Change-Id: Ib326b1669553146e028c8354bb5077176d150616 (cherry picked from commit 35bb6be739761482fa7e72214d2aedf2623cbb9a)
2015-04-29Switch perfprofd from using full to lite version of protobuf library.Than McIntosh
Change-Id: Ie4cf7cd2e6e4f90bcdba39200c856c219b710065 (cherry picked from commit 124dd4262f2a2c8e55fdb81af9981b1f949a9686)
2015-04-29Default the config file to NULL for perfprofd, so that we will not see error ↵Dehao Chen
in logcat when config file is not specified. Change-Id: Ib6a442726b687f8aaec27dee30962cf3cc820918 (cherry picked from commit bfd3af43e88249e763185005cf1db3cca4a3e6ed)
2015-04-28Build simpleperf in user-debug mode, and put it in /system/xbin/.Dehao Chen
(cherry picked from commit d455de47298ada7e3532104a8e3312822a940906) Change-Id: I53aa95e0c34957262bc9ebf3c2dff40bfee6867e
2015-04-27Build perfprofd and its libraries in userdebug mode only, and store it in ↵Dehao Chen
/system/xbin/ (cherry picked from commit 2a1e7e814c9cb300c22132763a1817c04907e75b) Change-Id: Ie893f20cd8b103d5eabdc57a13a6c6d9cf35d27d
2015-04-24am 7117efce: Merge "fix possible buffer overrun in librank"Colin Cross
* commit '7117efced82fcb4d3658161d765bfc964ab930f4': fix possible buffer overrun in librank
2015-04-24Merge "fix possible buffer overrun in librank"Colin Cross
2015-04-23am ffc011b6: Merge "Implement simpleperf stat subcommand."Yabin Cui
* commit 'ffc011b651535c46225630f5b73a798d86c1f52e': Implement simpleperf stat subcommand.
2015-04-23Merge "Implement simpleperf stat subcommand."Yabin Cui
2015-04-23Implement simpleperf stat subcommand.Yabin Cui
Also add some simple unit-tests. Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838
2015-04-23am 8103fad7: Merge "Second round of changes to \'perf\' profile collection ↵Than McIntosh
daemon." * commit '8103fad7c4f71b9ea7b27f624d7c40153132da2b': Second round of changes to 'perf' profile collection daemon.
2015-04-23Merge "Second round of changes to 'perf' profile collection daemon."Than McIntosh
2015-04-23fix possible buffer overrun in librankdaegeun.song
Use snprintf instead of sprintf and fclose() before return. Change-Id: I2c367b2e7b943f4ed10551c18ecc971e6b830c66 Signed-off-by: Daegeun Song <daegeun.song@lge.com>
2015-04-22Second round of changes to 'perf' profile collection daemon.Than McIntosh
Details: - avoid use of system() in favor of fork/exec. - add option to selectively disable/enable mpdecision service around perf collection runs to improve profile quality and avoid kernel pmuevents issues. - default to using 'simpleperf' instead of 'perf' Change-Id: I27928d8bb647fd852ec944158ebfd8efa38c01b4
2015-04-22am 8f4e7976: Merge "Do free and fclose when error occur."Colin Cross
* commit '8f4e79766cb67241666d7454b71982fd53e9fb61': Do free and fclose when error occur.
2015-04-22Merge "Do free and fclose when error occur."Colin Cross
2015-04-22Do free and fclose when error occur.daegeun.song
Do free and fclose when error occur. Change-Id: Ifc611579cf919eeb3fbbf1dff70e7f851a26e083 Signed-off-by: Daegeun Song <daegeun.song@lge.com>
2015-04-18am 9a6b9137: Merge "Implement simpleperf list subcommand."Yabin Cui
* commit '9a6b9137db9cd00e1189322a5db5581cd67e2867': Implement simpleperf list subcommand.
2015-04-18Merge "Implement simpleperf list subcommand."Yabin Cui
2015-04-18Implement simpleperf list subcommand.Yabin Cui
simpleperf is used to replace linux/tools/perf. And This CL implements the list subcommand of it. Change-Id: I3e6fe854e19cc370070d0fd8416d0aa6fa8f8e90
2015-04-16am 7f223030: Merge "f2fs_utils: fix build break in static_sdk_tools"Mark Salyzyn
* commit '7f223030ffe1a24600b09f52f17209f42dc0dcc0': f2fs_utils: fix build break in static_sdk_tools
2015-04-16Merge "f2fs_utils: fix build break in static_sdk_tools"Mark Salyzyn
2015-04-16f2fs_utils: fix build break in static_sdk_toolsMark Salyzyn
external/f2fs-tools/mkfs/f2fs_format.c:357: error: undefined reference to dev_read_version clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [out/host/linux-x86/obj/lib/libf2fs_fmt_host_dyn.so] Error 1 Change-Id: I9bf1eec9ee60aa2fc55a3d0793a67d36f271acef
2015-04-15am 81c39be5: Merge "make_ext4fs: use libcutils and libselinux shared libraries"Mark Salyzyn
* commit '81c39be5ecdc37c32439c9b7d078be182505a34e': make_ext4fs: use libcutils and libselinux shared libraries
2015-04-15am d16419e1: Merge "Move away from gr_surface."Elliott Hughes
* commit 'd16419e176efa26f1760a52a9b57df96d070147a': Move away from gr_surface.
2015-04-15Merge "make_ext4fs: use libcutils and libselinux shared libraries"Mark Salyzyn
2015-04-15Merge "Move away from gr_surface."Elliott Hughes
2015-04-15Move away from gr_surface.Elliott Hughes
Change-Id: Id23940a2e92bbfd56a2f2e1e021fb89114830dd4
2015-04-15make_ext4fs: use libcutils and libselinux shared librariesMark Salyzyn
- move libcutils and libselinux as shared now that they are in DISTTOOL. - liblog dependency is part of libcutils, and need not be called out explicitly now. liblog is in DISTTOOL. - libcutils fs_config has the right to add Android logging Bug: 19908228 Change-Id: I85d6d0c1fd5cf22f7328fdfcbe9a8511a552857c
2015-04-09am a8ac44e4: Merge "select(2) is bad, always use poll(2). Also remove ↵Paul Crowley
unnecessary loop." * commit 'a8ac44e4da690d8278e24b611a8cb00010f70fd2': select(2) is bad, always use poll(2). Also remove unnecessary loop.
2015-04-09Merge "select(2) is bad, always use poll(2). Also remove unnecessary loop."Paul Crowley
2015-04-09select(2) is bad, always use poll(2). Also remove unnecessary loop.Paul Crowley
Change-Id: I18cb8d75945413e35dc904bc95362d9b579cb336
2015-04-09am de9235d6: Merge "Add memmove benchmarking."Christopher Ferris
* commit 'de9235d6fab42798cb32a772115f75e7bbf0bd3c': Add memmove benchmarking.
2015-04-08Merge "Add memmove benchmarking."Christopher Ferris
2015-04-08Add memmove benchmarking.Christopher Ferris
Change-Id: I75bb907f5633d155cd411941ea6d9d39b9787983
2015-04-07Merge "Add real UUID support to ext4_utils."Jeff Sharkey
2015-04-07am 46b4f7d4: Merge "Perf profile collection daemon."Elliott Hughes
* commit '46b4f7d4288acfbf4c8a4aabcd70a47fa92744d9': Perf profile collection daemon.
2015-04-07Merge "Perf profile collection daemon."android-wear-5.1.1_r1android-wear-5.1.0_r1Elliott Hughes
2015-04-07Add real UUID support to ext4_utils.Jeff Sharkey
For some unknown reason, we've always been generating the same UUID for every single ext4 partition that we formatted. Yikes. Add a flag to request that a real UUID be generated when creating filesystem. Bug: 19993667 Change-Id: I6f3f6aa373021cb8b6779e5354ac36436c4d98d3
2015-04-06Perf profile collection daemon.Than McIntosh
Collects system-wide profiles via periodic invocation of /system/bin/perf, placing the resulting data files in a destination directory selected via config file. Behavior of the daemon, e.g how often to profile, duration of profiling runs, etc, can also be controlled with config file settings. Change-Id: I7978cab62aa0c2507ecf8d70ba073e77db730120
2015-04-07am 01869e7a: Merge "Introduce squashfs-utils that includes helper functions"Mohamad Ayyash
* commit '01869e7a7c7afb0074c0caa2bda34f38aa83ed2a': Introduce squashfs-utils that includes helper functions
2015-04-07Merge "Introduce squashfs-utils that includes helper functions"Mohamad Ayyash
2015-04-06Introduce squashfs-utils that includes helper functionsMohamad Ayyash
For example: extracting filesystem size from superblock Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc Signed-off-by: Mohamad Ayyash <mkayyash@google.com>