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
1 file changed