commit | 514135fb1a37ba15cf7daad4918e17cfc1724de4 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Dec 09 10:48:03 2021 +0000 |
committer | Primiano Tucci <primiano@google.com> | Thu Dec 09 10:48:03 2021 +0000 |
tree | 310a6ec3da8582b49d5db205d20e99cb919a5977 | |
parent | 4c498af99c43ed99d2f50791c1ddcbae37ff1fff [diff] |
Speculative fix of Windows build (take 2) Remove PERFETTO_EXPORT from ScopedResource as the class is fully defined inline and has no symbols. This seems to create problems when instantiating it in an anonymous namespace on Windows: From https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8828353581767219057/+/u/compile__with_patch_/stdout ../../third_party/perfetto/include\perfetto/ext/base/scoped_file.h(54,23): error: 'perfetto::base::ScopedResource<void *, &perfetto::base::ListFilesRecursive(const std::string &, std::vector<std::string> &)::(anonymous class)::__invoke, nullptr, false, perfetto::base::PlatformHandleChecker>' must have external linkage when declared 'dllexport' class PERFETTO_EXPORT ScopedResource { ^ Change-Id: I264973225637b60de52fe0d963c1dc1bc7741b75
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.