commit | e97322ea30403683d5fbb69cafa504880815fbc2 | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Fri Apr 12 19:30:46 2019 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Fri Apr 12 19:30:46 2019 +0100 |
tree | 4029601360366028baeb9bb5c204af3562239a77 | |
parent | 81880ac0f676f393d63b9e9a1e74c0355b8a3799 [diff] |
heapprofd_client: fork mode: avoid atfork handlers and SIGCHILD by using clone(2). This should be less invasive for the host process. Especially considering that during runtime init, the fork was happening at an "arbitrary" point in time from the perspective of the process' threads. Tested only manually so far. Change-Id: I3cc857b5bc4922a4497d6ee7fa4f6305c6eb6e44
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.