simpleperf: add --binary_filter option in report_html.py.
Since disassemble binary is slow, and it is not useful to disassemble
all binaries, add --binary_filter option to disassemble and add source
code only for selected binaries.
Also add is_elf_file() in utils.py to avoid the warning message of
running readelf on files not in elf format.
Also fix two small errors in report_html.js.
Bug: none
Test: run test.py TestExampleWithNative.test_report_html.
Change-Id: I115543c30a409dc2d11c76491614804d097326b1
4 files changed