• Pierre Langlois's avatar
    [tools][system-analyzer] Add support for apkEmbeddedLibrary and targetRootFS · d380c9a6
    Pierre Langlois authored
    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: 's avatarCamillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82359}
    d380c9a6
Name
Last commit
Last update
..
log Loading commit data...
view Loading commit data...
app-model.mjs Loading commit data...
helper.mjs Loading commit data...
index.css Loading commit data...
index.html Loading commit data...
index.mjs Loading commit data...
local-server.sh Loading commit data...
lws-middleware.js Loading commit data...
processor.mjs Loading commit data...
profiling.mjs Loading commit data...
timeline.mjs Loading commit data...