simpleperf: draw thread flamegraphs using javascript in report_html.py.

Currently report_html.py uses inferno to generate flamegraphs for each
thread in html file. This patch switches to draw thread flmegraphs using
javascript code. It has below benefits:
1. It takes half time to generate the report, by removing the need to
call inferno.
2. The size of the report file is smaller. The size of report file for
testdata/testperf_with_interpreter_frames.data is decreased from 3.9M to
1.6M.
3. In the future, we can control the javascript to show only part of the
flamegraphs at loading time. So it won't take forever to load a big
report.

Also add search button in FlameGraphView, which exists in the flamegraph
generated by inferno.

Bug: 109943459
Test: run test.py TestExamplePureJava.test_report_html.
Test: run report_html.py manually.

Change-Id: I6e843870f46631e5a111a923b50e62292ac98c03
2 files changed