diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2019-06-05 16:39:04 -0700 |
---|---|---|
committer | Oliver Nguyen <olivernguyen@google.com> | 2020-02-03 19:05:05 +0000 |
commit | 0fba97d295347637e8f44cc4691a027683f5c031 (patch) | |
tree | a1d7ca19fa36abc1883ae7a59bde733834401b62 | |
parent | 6dc0cc21fea69df79f50daf62fb1376fe1db0652 (diff) | |
download | extras-0fba97d295347637e8f44cc4691a027683f5c031.tar.gz |
Opt adbd and init out of property-watcher thread
Bug: http://b/116873221
Bug: http://b/134177005
adbd calls selinux_android_setcon() which will fail if there are
multiple threads in the process. The reason for boot failures with
coverage-enabled init and property-watcher thread is not clear yet.
Test: cuttlefish with coverage for init and adbd boots.
Change-Id: I0c44e76cc59d12b963e4d5b862683ead2f816cdc
Merged-In: I0c44e76cc59d12b963e4d5b862683ead2f816cdc
(cherry picked from commit 87d1a3bfba5bba715eed9d1b254bfa02282bf39f)
-rw-r--r-- | toolchain-extras/profile-extras.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain-extras/profile-extras.cpp b/toolchain-extras/profile-extras.cpp index cdb19e8f..b7a9318a 100644 --- a/toolchain-extras/profile-extras.cpp +++ b/toolchain-extras/profile-extras.cpp @@ -73,6 +73,8 @@ static char prop_watch_disabled_procs[][128] = { "zygote32", "app_process", "app_process32", + "adbd", + "init", }; static size_t prop_watch_num_disabled_procs = \ |