4542825d293c5e729f06d65a078abb8ac6cbc45f |
|
30-Jan-2018 |
Yabin Cui <yabinc@google.com> |
inferno: support --one-flamegraph option. Also split options into groups. Bug: http://b/72495881 Test: manually. Change-Id: Iec322fc1f1afb74ee5ee0fb19145d16926064332
/system/extras/simpleperf/scripts/inferno/inferno.py
|
0696300d3b5166db18b8344fa0f49df65a3971c0 |
|
24-Jan-2018 |
Yabin Cui <yabinc@google.com> |
inferno: show time duration for perf.data recorded with --trace-offcpu. Bug: http://b/72323886 Bug: http://b/72330172 Test: manually. Change-Id: I91ece3081e0a7dcbe068154b36b35a694519af8e
/system/extras/simpleperf/scripts/inferno/inferno.py
|
b9df2741be903c153a41078895d1206f3d043b74 |
|
14-Dec-2017 |
Yabin Cui <yabinc@google.com> |
inferno: show total event count. Bug: http://b/70636120 Test: run inferno manually. Change-Id: I182e0f4cc40fbfdce8ddb2100c0ccb5ba8057434
/system/extras/simpleperf/scripts/inferno/inferno.py
|
e1ad616badae188a0199df7ecb4fa27cf905ba57 |
|
14-Dec-2017 |
Yabin Cui <yabinc@google.com> |
inferno: support --title option. Allow adding a custom title for a report html. Bug: http://b/70636208 Test: run inferno manually. Change-Id: Ic5f57be9d1a8f3f69d4598851dbbedbdbc17facb
/system/extras/simpleperf/scripts/inferno/inferno.py
|
439e1e56813832ab7257a18e47032314e6afe38c |
|
10-Nov-2017 |
Yabin Cui <yabinc@google.com> |
inferno: sort threads by the event count in a thread. Sometimes a thread having only several samples comes first, and looks like it is the most important thread. So sort threads by the event count to make really important threads shows first. Bug: none. Test: run inferno.sh. Change-Id: Ic8406fb19d72d2599c78589d9f4876875dad00e8
/system/extras/simpleperf/scripts/inferno/inferno.py
|
4280adf79de66884f29aea648fa614a83a1ed931 |
|
13-Oct-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix help msg. Bug: http://b/66914187 Test: run inferno.sh -h. Change-Id: I8dc5a69ab585fcb10506b969398b745057e408d8
/system/extras/simpleperf/scripts/inferno/inferno.py
|
72e4b141d108820a91d006cf4f2f168d935e6155 |
|
12-Oct-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: speed up inferno. 1. Add --min_callchain_percentage option. This threshold is used to trim unimportant callchains. This avoids too much time generating the report when processing millions of samples. 2. Improve some bottleneck places shown in cProfile. Bug: 66914187 Test: run test.py. Change-Id: I64347ee3c32813166736ebde699cbed8b129183d
/system/extras/simpleperf/scripts/inferno/inferno.py
|
a0e96bdb44ea8fc9c78ff7d21a4f4205116b16ac |
|
29-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: add html report interface. Also remove unnecessary dependency of jquery/jqueryui in inferno. Bug: http://b/66914187 Test: manually run report_html.py. Test: run test.py. Change-Id: I963e05df0c38aa6a10a7ca53f77871efca9f2719
/system/extras/simpleperf/scripts/inferno/inferno.py
|
2b62a58a6175741af22b2b37dc31448d70afea71 |
|
26-Sep-2017 |
Yabin Cui <yabinc@google.com> |
inferno: support building embedded flamegraph. This is to show embedded flamegraph with other view in a report html. Bug: http://b/66914187 Test: run inferno.sh manually. Change-Id: Ib68b7dcbd41d85d1fb47f1637407e50bd7e93d87
/system/extras/simpleperf/scripts/inferno/inferno.py
|
e01b2b6c536e42fc95ab9c1da34536a11a84c23f |
|
21-Sep-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: allow inferno to run from any dir. Previously inferno.sh/.bat can only run from scripts/, this CL removes the restriction. Also add -o option to select report path. Bug: http://b/32834638 Test: run test.py. Change-Id: Ib1651dcd1beedac5be00249150e0b74fea906924
/system/extras/simpleperf/scripts/inferno/inferno.py
|
442f469d08cdf47f6289c345cead1f9fc58e15f4 |
|
22-Aug-2017 |
Yabin Cui <yabinc@google.com> |
Merge "simpleperf: make inferno flamegraph resizable."
|
6e8de3a4b4dd8f77cf9c8ec4e087a6be9895f892 |
|
18-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: make inferno flamegraph resizable. By using jqueryui resizable and set the width of each node by percentage, we can make the flamegraph resizable. Bug: http://b/64035530 Test: run inferno.sh. Change-Id: I1d56e4eecbceaa6189eff25995d20f758a8b4111
/system/extras/simpleperf/scripts/inferno/inferno.py
|
b5b94a68b333794dd619bd5ef684981df10652da |
|
21-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix scripts based on test on darwin/windows. 1. fix inferno.bat to correctly pass arguments. 2. type `inferno.bat` instead of `./inferno.bat`. 3. call `inferno.bat` in python should use shell=True. 4. fix the way to open browser on darwin/windows. Bug: http://b/64035530 Test: run test.py on all platforms. Change-Id: I5e22907d0c25186b129bf82e0f83d3b71e28ffb2
/system/extras/simpleperf/scripts/inferno/inferno.py
|
d3c40e701e2638596bf8bd2d4f8da746e005e144 |
|
15-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix inferno and test content of report.html. Inferno uses sample count to decide the width of each method, but this is not accurate. Fix it by using event count instead. Besides that, refactor inferno.py a little, get record cmd and device info from perf.data, and test content of report.html generated by inferno. Also fix a flakey test TestExamplePureJava.test_app_profiler_with_ctrl_c. Bug: http://b/64035530 Test: run test.py. Change-Id: Ia57fcbd28b4242b4251b063bd38a58da7b93eba0
/system/extras/simpleperf/scripts/inferno/inferno.py
|
5eb08cfbdd87f6ea390b7b2b09a4d45917f16736 |
|
12-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: format inferno code. Format python code using autopep8. Change Javascript code to ES6, and format it using eslint. Bug: http://b/64035530 Test: run inferno. Change-Id: I8b3553bf49423275da8eb3ad6fe3d8bb8dcf0a5b
/system/extras/simpleperf/scripts/inferno/inferno.py
|
69bce02a4c7ae10974a2140c864739d660e9ecd3 |
|
08-Aug-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: use app_profiler.py in inferno. Also add tests to check if we can run inferno successfully. More tests will be added to check report results of inferno. Bug: http://b/64035530 Test: run test.py. Change-Id: Ie5dd1f5cb47c8c7a2ae68f8614cf81b68e3c7dbf
/system/extras/simpleperf/scripts/inferno/inferno.py
|
12a6910bac733dccb5e0672be87275b3baef4090 |
|
26-Jul-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: move inferno to scripts directory. This is a preparation for integrating inferno with python scripts under scripts/. Bug: http://b/64035530 Test: run inferno.py. Change-Id: I60ee1c30f650307aa58a038448cddb4eef43acb5
/system/extras/simpleperf/scripts/inferno/inferno.py
|