History log of /system/extras/simpleperf/scripts/inferno/script.js
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06d975cc66c20b309b6f6581209e2107e7ee8bb7 14-Dec-2017 Yabin Cui <yabinc@google.com> inferno: Show both event count and percentage in flamegraph.

Bug: http://b/70569354
Test: run inferno manually.
Change-Id: I592a58f9ee074f1162fb105fd93077c7b54db5fd
/system/extras/simpleperf/scripts/inferno/script.js
8c7f7b112593d1602e863a2a2d55740ea1296ed0 06-Dec-2017 Yabin Cui <yabinc@google.com> inferno: fix zooming flamegraph.

If zoom in and zoom out a graph having more than one node at the
root level, the final graph can't show all nodes.

Bug: none
Test: manually.
Change-Id: Ie743a402987a414d07bbbf4a01db34b2e9cff5ce
/system/extras/simpleperf/scripts/inferno/script.js
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/script.js
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/script.js
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/script.js
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/script.js
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/script.js
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/script.js