2362310b546b157eeee352e72b1585363002d662 |
|
14-Apr-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: use libbacktrace_offline static library. 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)
/system/extras/simpleperf/Android.mk
|
b7724264f7b0119277ef6d205d55687e393bbaf9 |
|
02-Mar-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: support building cts test. 1. build cts test libraries. 2. change tests to use tmpfile instead of perf.data. 3. support extracting testdata from cts test file. Bug: 27387280 Change-Id: I7c5db77f3157d586d0c9beb446b247626e7cce36 (cherry picked from commit be7ec66eaa4f995bd9068637f7c7d5718173922c)
/system/extras/simpleperf/Android.mk
|
08663eb56b17e5ce1a9b0030d5a965306de0e3ae |
|
25-Feb-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix mac build. I forgot that mac doesn't support whole static library. Change to static library to avoid hiting the same problem in the future. Bug: 26962895 Change-Id: Ia8e26c2e1cf7621391e00e100b22b7ed451dfa32 (cherry picked from commit ff7465c896ab90c162cbcf2b141c4cdd79bf437f)
/system/extras/simpleperf/Android.mk
|
025745a017b893797c1532da704edd0a2854cb14 |
|
24-Feb-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: port cmd_report_test to nonlinux. And fix one build_id bug introduced by previous patch. Bug: 26962895 Change-Id: Ibb8bd6ec77ee862bb01c26342d3b3024468e75b2 (cherry picked from commit 6e51bef9aa101307523946df301ca90215d0ee82)
/system/extras/simpleperf/Android.mk
|
0bd2a5cef3cf787552c55f643631b6ba77637711 |
|
06-Feb-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: port read_apk and read_apk/read_elf tests to nonlinux. 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 (cherry picked from commit 569f64afd3db2b43003978765b833669f99477d2)
/system/extras/simpleperf/Android.mk
|
f831e6d12ca2298cb34b155a9d91ef002d0482f3 |
|
02-Feb-2016 |
Than McIntosh <thanm@google.com> |
Support profiling of shared libs embedded in APKs. 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
/system/extras/simpleperf/Android.mk
|
860a85824232639cb24f94667137a0468679c025 |
|
26-Jan-2016 |
Christopher Ferris <cferris@google.com> |
Add use of libbacktrace_offline. Change-Id: Ia8c16b3b82e4a19fcaedd21c05ab6bae5006f561
/system/extras/simpleperf/Android.mk
|
ffaa912ca48e87d25d516780c15cdd7c50de43db |
|
16-Jan-2016 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support build for windows. Change-Id: I31554f36ee97eb0ae27bda9b77e29410776925e2
/system/extras/simpleperf/Android.mk
|
89905b72da03366f65baaa3facfc9c91f5631ca4 |
|
08-Dec-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: add separate cpu_hotplug_test. cpu_hotplug_test runs much longer than unit tests, so separate it. It uses the same strategy as the shell scripts I used to find all kernel bugs. Bug: 26032318 Bug: 25193162 Change-Id: I2f26d4f0d65e680b597e40cce9e775b9568599ef
/system/extras/simpleperf/Android.mk
|
0930ea88ef02f784044106c67b11f9b82afbda5d |
|
02-Oct-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: add runtest. Bug: 22885658 Change-Id: If710c215340665a8fa7d7bfdcd5a6686598cccbd
/system/extras/simpleperf/Android.mk
|
3c8c21345478816dd0c70c096090b564c91bd9d2 |
|
14-Aug-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support dwarf callgraph in report command. Use libbacktrace for stack unwinding. Bug: 22229391 Change-Id: Iab35cdb52936c65c4728e23423ded83050f1db76
/system/extras/simpleperf/Android.mk
|
60a0ea96c0fb9e807c899759256df5e20bd904bd |
|
23-Jul-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: separate ThreadTree from SampleTree. It is a preparation for unwinding in record command. Bug: 22229391 Change-Id: I2f5c6df3f7332d4c98b61c7f9f922456b5bbeaaa
/system/extras/simpleperf/Android.mk
|
8ca8ae80383c481fcc5f5e5ce7377be9983822a2 |
|
14-Jul-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: fix build on mac. Change-Id: I042fa65347c38879ff9b9f1027b8ae39ec26da62
/system/extras/simpleperf/Android.mk
|
76769e502d8f0ebf5d2c81b00246727fb0a59925 |
|
13-Jul-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: Support dwarf callgraph recording. 1. add OS_RELEASE and ARCH feature in perf.data. ARCH feature is used when parsing recorded user registers. 2. support `--call-graph dwarf` option in record command. Bug: 22229391 Change-Id: I56dbdd101338658ce6a9b59aa8be90e712e007f5
/system/extras/simpleperf/Android.mk
|
ecb9a302b52b034610efb85bd73cb473e7c4ddb2 |
|
01-Jul-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support callgraph option in report command. Bug: 19483574 Change-Id: I7c5558a71ea15650c1d3e7afa268b3fbc11543d7
/system/extras/simpleperf/Android.mk
|
9fd3cc1048a3d0338df4a48760dfd655560992a1 |
|
26-Jun-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support build on mac. Bug: 19483574 Change-Id: I6c28541944bc0a4e6fc07d7ea5a8fb5f71890510
/system/extras/simpleperf/Android.mk
|
ec12ed9010128483993a87d68edc02d3a89d56cf |
|
08-Jun-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support symbol parsing in report command. Also fix the storage of ProcessEntry. Bug: 19483574 Change-Id: I2182a804f6ecbd28e7aa3c1a38a6f19b86f583c9
/system/extras/simpleperf/Android.mk
|
2672dea3f1112b13678103023011c797ca283bac |
|
21-May-2015 |
Yabin Cui <yabinc@google.com> |
Add simpleperf report command. Only support report of process/file level. Symbol parsing is not included. Bug: 19483574 Change-Id: I6d1c67000bd0e303623183912ff06fdeeb51c5e9
/system/extras/simpleperf/Android.mk
|
ddddc06d1f1d15d49e1eb43201b73beb29cf4cde |
|
03-Jun-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support branch stack sampling in `simpleperf record`. This only adds support in simpleperf. Branch stack sampling still lacks kernel support on arm devices. Use perf_event.h of bionic in host build, because the perf_event.h of platform glibc is too old. Bug: 19483574 Change-Id: I9c7332c054e93e7433717dd293d3f366b1802e2d
/system/extras/simpleperf/Android.mk
|
9764169fc1d0126ad2d72feb94791fd96e44e35b |
|
29-May-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: add test about cpu hot-plug. On device like N7(flo), because of a kernel bug, if a cpu is hotplugged while there are hardware events monitored not on that cpu, the kernel arrives in an error state that no further hardware events can be monitored. This test is used to detect the kernel bug. Bug: 19863147 Change-Id: Ieed4fef174373b5fe62afacf8197e839685893df
/system/extras/simpleperf/Android.mk
|
8f6225147c5b6cb2159a7f5cb0dab952ee0759df |
|
06-May-2015 |
Yabin Cui <yabinc@google.com> |
Dump build_id feature in `simpleperf record`. Bug: 19483574 Change-Id: Ie2acd8a157bca9ad3c01a2e4b37e139aba89670f
/system/extras/simpleperf/Android.mk
|
7d59bb49fb47fbc82ef5c77d7aebf7174fd996e1 |
|
05-May-2015 |
Yabin Cui <yabinc@google.com> |
Dump kernel/modules/thread mmap information in `simpleperf record`. Bug: 19483574 Change-Id: Ia65cb12804a6dffa440501736a6229b2f7248958
/system/extras/simpleperf/Android.mk
|
9759e1b1ce76185aa539aeea2fb1cbd8382156e7 |
|
29-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Implement simpleperf record/dumprecord subcommands. Bug: 19483574 Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
/system/extras/simpleperf/Android.mk
|
d455de47298ada7e3532104a8e3312822a940906 |
|
28-Apr-2015 |
Dehao Chen <dehao@google.com> |
Build simpleperf in user-debug mode, and put it in /system/xbin/. Change-Id: I83cf2bece5491ab88cd8ceff7fdd8f563d50f18f
/system/extras/simpleperf/Android.mk
|
323e945313b190373b3fcfe578e25ee8390a76d3 |
|
21-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Implement simpleperf stat subcommand. Also add some simple unit-tests. Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838
/system/extras/simpleperf/Android.mk
|
67d3abd7b26a741347b33402ad32f5c6735ca0bd |
|
17-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Implement simpleperf list subcommand. simpleperf is used to replace linux/tools/perf. And This CL implements the list subcommand of it. Change-Id: I3e6fe854e19cc370070d0fd8416d0aa6fa8f8e90
/system/extras/simpleperf/Android.mk
|