commit | 679f3e4242b8e018eb7df90ef433f81088a64fff | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Dec 05 16:41:59 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Jan 28 18:10:55 2020 -0800 |
tree | d8903348ee0fc352005bb8ec82e94b110897220d | |
parent | 88d4019b826d874b5e9b08b6005a275f33ca6fa2 [diff] |
Enable fdtrack in system_server. Spawn a thread that monitors the current fd count, and enables fdtrack to hunt down leaks when it gets too high. Bug: http://b/140703823 Test: setprop persist.sys.debug.fdtrack_enable_threshold; stop; start; logcat -c; killall -39 system_server; logcat -d | grep fdtrack Change-Id: If5831f57d47e6958112abced181f07e18e6a7261