diff options
| author | 2021-03-16 17:22:14 +0000 | |
|---|---|---|
| committer | 2021-03-17 10:54:56 +0000 | |
| commit | d1c8aaedf0eb3982f7e969ab66a2c391dbfd6929 (patch) | |
| tree | d6d568b2e92e4f0d7408783e7bb6894bf6bc187b /compiler/driver/compiler_options.h | |
| 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
Diffstat (limited to 'compiler/driver/compiler_options.h')
0 files changed, 0 insertions, 0 deletions