commit | b0dc247a5926c290a8362fc2ce5bc0096800d75e | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Wed Feb 22 10:31:31 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Wed Feb 22 10:36:45 2023 +0000 |
tree | 55b95e26c3e4f268c613d03cb5c4a1680c641fbc | |
parent | 1d202f2412734f1e782d991618c7c4a7952e8738 [diff] |
trace_processor: Fix build on windows Bit-fields on MSVC (and therefore clang-cl) behave differently (the behavior in implementation defined after all) and result in a different object size. By reusing the same type for all the fields, it seems like MSVC behaves like GCC. In order for this code to be truly portable we should avoid bit-fields or relax the static assertion, but this fixes the build in the meantime. Bug: 270301961 Change-Id: I2772cd1338ba911db4b7797d0cc0bc3c91ee596a
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.