commit | 3e7228376cfde46d067998b902918d9422e1fbc2 | [log] [tgz] |
---|---|---|
author | Sami Kyöstilä <skyostil@google.com> | Fri Sep 02 21:09:06 2022 +1000 |
committer | Sami Kyöstilä <skyostil@google.com> | Fri Sep 02 21:09:06 2022 +1000 |
tree | 705ab4ea465a87205de4e643e0359fe6d6588bc1 | |
parent | 0dc3fc7a080d67f1b0ec2f6a2a6315576b30edd3 [diff] |
tracing: Clean up platform TLS state on shutdown When perfetto::Tracing::Shutdown() is called, we should make sure to release any TLS finalizers so that they don't try to run any Perfetto code when the calling thread is terminated. Bug: b/244499476 Change-Id: Iee119e956a9e120deeb5521506445693b5388327
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.