commit | 92611947dcc65b160a1fa5b661cacdc4868a1a28 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Fri Aug 11 13:40:05 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Fri Aug 11 16:32:24 2023 +0000 |
tree | e3b14ce2c5bb1d96807ebd82fc60deacd2820c20 | |
parent | ec4864efbd5e520f86f1092dfaf0219af08fb268 [diff] |
shared_lib: Fix macros for MSVC MSVC traditional preprocessor macro expansion has some quirks that cause macro arguments to be expanded differently. https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-160#rescanning-replacement-list-for-macros Adding a level on indirection makes the macro work correctly both on clang/gcc and traditional MSVC. Bug: 237053982 Change-Id: Ief839a1340f544147f91201835f89bbb05235b9b
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.