commit | f3b2b64e53ba3e3b056e19636c94244301e60e3f | [log] [tgz] |
---|---|---|
author | Alexander Timin <altimin@google.com> | Thu Jun 03 13:08:34 2021 +0000 |
committer | Alexander Timin <altimin@google.com> | Thu Jun 03 13:08:34 2021 +0000 |
tree | 84ac5b4d63b48e882f1bad7c8c4dca6cf9804bf5 | |
parent | 6658ff3a7d93ef97704d5d4b207ee1b38c49919c [diff] |
TracedProto: Fix MSVC compilation MSVC doesn't take too kindly to having multiple member functions with the same signature, despite all but one not having a valid return type. They should have been ignored due to SFINAE, but they aren't (more details here: https://developercommunity.visualstudio.com/t/c-compiler-fails-sfinae-error-c2535/671364) Switch the implementation of the TracedProtoWriter from multiple SFINAE implementations of the same functions to partial specialisations of a nested struct. R=primiano@google.com,skyostil@google.com Bug: b/189081318 Change-Id: I9fbf9fb9322fa1494f1f0ccf0d969b6c6b324354
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.