commit | d1c8aaedf0eb3982f7e969ab66a2c391dbfd6929 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Mar 16 17:22:14 2021 +0000 |
committer | Florian Mayer <fmayer@google.com> | Wed Mar 17 10:54:56 2021 +0000 |
tree | d6d568b2e92e4f0d7408783e7bb6894bf6bc187b | |
parent | 98fa40a492c85fad5f4f60d2904a1451ee35d543 [diff] |
perfetto_hprof: Unsuspend parent process before waitpid. We have hit bugs where the child process got stuck in an atfork handler. This way worst case the perfetto_hprof_listener thread gets stuck if the child process does, but the rest of the app can go on normally. The next step will be to add a timeout to the waitpid to make sure we do not leak the child process. Bug: 181031512 Test: atest CtsPerfettoTestCases Change-Id: I9525c0fc5d061307b01dbacf2ec05f19b930ea25