commit | 4ed03f206457414bfcd3592afec4a0b3f71d821d | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Mon Mar 15 14:26:07 2021 +0000 |
committer | Primiano Tucci <primiano@google.com> | Mon Mar 15 14:26:07 2021 +0000 |
tree | 57e6511b86eb6586b27db381bef8975c750144a5 | |
parent | c061d214c9da2dd3f9ced1ccfa2e9244c09f017f [diff] |
UI: Build wasm with -g2 to preserve symbols, fix OOM message The previous emscripten+wasm toolchain roll broke C++ symbols in Wasm crashes and, recursively, the special casing around known crashes (e.g. OOM). This CL: - Adds -g2 to preserve function names, now explicitly required when building with -O3. - Adds ASSERTIONS=1 (1 in debug builds) to get the error message ("cannot enlarge memory") from OOMs. - Tweaks the OOM detection code, as the message slightly changed (it doesn't mention "array" anymore). - Makes the OOM message a bit more actionable. Bug: 182711686 Bug: 181218057 Bug: 181237261 Change-Id: I84909f08bd2d93b4545cd5f0a5e29f94dd126bee
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.