commit | c5ba00a1a7daa9c45a274988d319e521bc86782d | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Mon Oct 23 18:48:35 2023 -0400 |
committer | David Benjamin <davidben@google.com> | Mon Oct 23 18:48:35 2023 -0400 |
tree | abadee55e8e7ee0e7783644497f2674ae884f604 | |
parent | 1055b707f7583ef96d0246863addf96ee715f74b [diff] |
Fix UB when WriteBytesUnsafe writes zero bytes memcpy is not safe to call with NULL, 0 due to a C language bug that was inherited into C++. The STL functions from <algorithm> (which bottom out to the right functions anyway) avoid this. See discussion in https://crrev.com/c/4968444. Bug: crbug/1394755 Change-Id: Ib2a22bf4b9ea624c238e0c5eec8715f99781da0d
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.