commit | 2308ef13d5740b10ceed916778afc72f47f97e1c | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Thu Oct 05 00:09:52 2023 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Thu Oct 05 00:09:52 2023 -0700 |
tree | c5ca32453ba616bc4821b0fc4f9a0a2a1ba4ed3f | |
parent | ab81ec80117384b25e53712a78ee4ec81c48a1ab [diff] |
Move NewTrace down to fix incomplete type error After upgrading libc++, clang generates this error: error: invalid application of 'sizeof' to an incomplete type 'perfetto::TracingSession' Moving the function shouldn't prevent it from being inlined, because it is still marked with __attribute__((__always_inline__)). Bug: 175635923 Test: m MODULES-IN-external-perfetto Change-Id: Icce55c5563938faf9881bcea177c0b22f324c244
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.