v8/tools/system-analyzer
Pierre Langlois d380c9a6df [tools][system-analyzer] Add support for apkEmbeddedLibrary and targetRootFS
The system analyzer relies on server-side processing to symbolize C++
addresses, using lws-middleware.js:

    ws --stack system-analyzer/lws-middleware.js lws-static cors

This does not work on Android however, given the log file refers to the
stripped apk file rather than the unstripped libchrome.so binary. This
CL adds the --apk-embedded-library option to the middleware script to
make this work:

    ws --stack system-analyzer/lws-middleware.js lws-static cors  \
        --apk-embedded-library=/path/to/out/android/lib.unstripped/libchrome.so

Also, for completeness, add the --target option to set targetRootFS.

Bug: v8:10644
Change-Id: I7bb73adf49e3af8eaa88a5e2c81ec913023ac1a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3823133
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82359}
2022-08-10 17:03:56 +00:00
..
log [tools] Improve system-analyzer profiler panel 2022-06-24 12:22:49 +00:00
view [tools] Improve system-analyzer profiler panel 2022-06-24 12:22:49 +00:00
app-model.mjs [api] Remove FLAG_log_api 2022-04-11 06:24:44 +00:00
helper.mjs [tools][system-analyzer] Fix timeline scaling 2022-05-11 14:40:42 +00:00
index.css [tools][system-analyzer] Add profiler-panel 2022-04-26 17:57:03 +00:00
index.html [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
index.mjs Update V8 DEPS. 2022-05-03 14:23:57 +00:00
local-server.sh [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
lws-middleware.js [tools][system-analyzer] Add support for apkEmbeddedLibrary and targetRootFS 2022-08-10 17:03:56 +00:00
processor.mjs [tools][system-analyzer] Add support for apkEmbeddedLibrary and targetRootFS 2022-08-10 17:03:56 +00:00
profiling.mjs [tools] Improve system-analyzer profiler panel 2022-06-24 12:22:49 +00:00
timeline.mjs [tools][system-analyzer] Add profiler-panel 2022-04-26 17:57:03 +00:00