commit | 1388e3d1191a1b901bfcc31dd89a15c23f4b7abe | [log] [tgz] |
---|---|---|
author | Arthur Eubanks <aeubanks@google.com> | Thu May 18 09:46:56 2023 -0700 |
committer | Arthur Eubanks <aeubanks@google.com> | Thu May 18 16:50:50 2023 +0000 |
tree | 48c15631e40900b60c379c2739dbbedbc8155913 | |
parent | 287c9bfb7d7107806ee430453f2e8db09fe9ed8a [diff] |
Cast PERFETTO_TYPE_IDENTIFIER to bool With https://reviews.llvm.org/D146764, we treat __PRETTY_FUNCTION__ as a string literal for MSVC compatibility. That causes this code on Windows to warn with implicit conversion turns string literal into bool: 'const char[162]' to 'bool' Explicitly cast it to a bool. Bug: chromium:1446708 Change-Id: I65e45d5eaa2bb85b166527106eba71ecd0aa7baa
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.