0c093f3cc0dbced581c9d430e0ed8cd12def61ce |
|
19-Apr-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: add --brief-callgraph option for report cmd. Remove duplicated callgraphs (which appears as a sub graph in another place) in --brief-callgraph mode. Accept brief callgraph in report.py. Add unit test for --brief-callgraph option. Bug: http://b/37444055 Test: run simpleperf_unit_test. Test: manually run report.py. Change-Id: I41977762552ec66807f394558352da6cbefaec2e
/system/extras/simpleperf/SampleDisplayer.h
|
afe99a53d3030f54fa843af3e1558852a4cb3815 |
|
24-Feb-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: add --raw-period option for report cmd. Bug: http://b/35475170 Test: run simpleperf_unit_test. Change-Id: Ib5bae0b775ac2a3e647b7724df01ce0b8deb1a38
/system/extras/simpleperf/SampleDisplayer.h
|
18385c4b52c25f14475645172a2ce5dfd3fb1e9a |
|
09-Dec-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: Improve Callgraph. 1. Reduce columns used by callgraph by reducing spaces between entries from 11 to 4. This helps to show more entries in the limited screen width. 2. Add [hit-in-function] line for each entry, so we know the percentage of samples hit in the function and samples hit in the children functions. 3. Add --kallsyms option for report command. After all, The callgraph is changed like below. Before change: |--99.08%-- java.lang.Thread.run | void com.example.cyb.tappydefender.TDView.run() | | | | |--95.63%-- void com.example.cyb.tappydefender.TDView.draw() After change: |--98.85%-- java.lang.Thread.run | void com.example.cyb.tappydefender.TDView.run() | |--0.09%-- [hit in function] | | | |--95.54%-- void com.example.cyb.tappydefender.TDView.draw() Bug: http://b/33356538 Test: run simpleperf_unit_test. Test: run simpleperf report -g manually. Change-Id: Ifc1846d4ee7469cadbcc727cae6bf59552d919d5
/system/extras/simpleperf/SampleDisplayer.h
|
c0565bb21e2997d7a01dda40ea2b16e067e7e28c |
|
30-Sep-2016 |
Yabin Cui <yabinc@google.com> |
Simpleperf: add --max-stack and --percent-limit options for report cmd. Bug: http://b/24905115 Test: run simpleperf-unit-test. Change-Id: I177f618f923f90069c0380063f0c3f93427dedd7
/system/extras/simpleperf/SampleDisplayer.h
|
9970a2344333f2c19d9126cfec4f833f50ff2f22 |
|
29-Jun-2016 |
Yabin Cui <yabinc@google.com> |
Simpleperf: add vaddr_in_file sort key in report command. Currently report command can't report more details than function name. After adding vaddr_in_file sort key, it can report the place of the instruction being sampled. vaddr_in_file is the instruction's virtual address in elf file, which matches output generated by objdump. Bug: 29826956 Test: run simpleperf_unit_test. Change-Id: Ifad4dfb7c60014a03c01ffbfd0b972858f1a4884
/system/extras/simpleperf/SampleDisplayer.h
|
6965d42c43f12fd2dfcca3c490b51edc67822586 |
|
15-Jun-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: add kmem command to report slab allocation information. Bug: 27403614 Change-Id: Id3015a4828ec32170ea1db3a1580b14a8bd159ba
/system/extras/simpleperf/SampleDisplayer.h
|
b64a86327afe2b77dab7d724d363386c674163b6 |
|
25-May-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: refactor SampleTree for reuse. By moving most function in report command into template classes, it allows other report commands to reuse the code. Bug: 27403614 Change-Id: I3d35b3a34d48c5c043ba4257a52eaf0961c12bca
/system/extras/simpleperf/SampleDisplayer.h
|