commit | 64dbd4f8a63e2f1f11e9d5ab612165f6e420fed5 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Thu May 23 07:17:35 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Thu May 23 07:47:07 2019 -0700 |
tree | a1d8f738aefda743beb2ecfa5830263f32f3293a | |
parent | 7336078d1d6a7dc4da530c7d20392ca3d0503992 [diff] |
TracingMutexImpl: Fix DestroyTracingSession() We were calling std::remove_if(), but not actually erasing any of the elements. This left our backend consumers in a potentially bad state, with some elements rearranged and in a post-std::move() state. We fix this by using erase() to get rid of the appropriate consumers. Test: TreeHugger Change-Id: I1b9be09a5a59a387de760f3f15667aab8ee90878
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.