OSDN Git Service

Allow zygote to keep socket to heapprofd.
authorFlorian Mayer <fmayer@google.com>
Tue, 16 Oct 2018 13:30:02 +0000 (14:30 +0100)
committerFlorian Mayer <fmayer@google.com>
Wed, 31 Oct 2018 10:32:14 +0000 (10:32 +0000)
commit6ce2d9966d9a3a220fb85cdcb50eeda4b2ed535d
treeab655f3162db0c7e7638af045cdb4b759bae50c3
parent0d63da86e2e4093e9785cfc1df2f8ec4308a9ead
Allow zygote to keep socket to heapprofd.

This allows users to target zygote for heap profiling without
causing it to crash on ForkCommon.

This also allows us to profile zygote in benchmark runs where we want to
profile as many processes as possible.

Bug: 117821125

Test: m
Test: flashed walleye

Change-Id: I3f41b64e0a64e362eafd02cd4e86cb77e434d94c
core/jni/fd_utils.cpp