commit | f5b1cdb31c5cbfe7f854622dfb948ec96d967982 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Thu May 14 18:07:41 2020 +0200 |
committer | Florian Mayer <fmayer@google.com> | Thu May 14 18:07:41 2020 +0200 |
tree | 67d235831c0686810c334e00511d861741fc9665 | |
parent | 09d3485a95561ff40bc8b7951ef5eab6009d53ba [diff] |
Test for IsPostFork() in RecordFree. If we test only in FlushFreesLocked, it is possible that the parent forked holding the free_batch_lock_, and we will stall the process for 1 second, waiting for the timed_mutex to time out. Change-Id: I973878ac2dc368ee5f61eedb2b9d649fbecd5c95
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.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.