Whitelist processes for NativeProcessMemoryState.
Expand the whitelist for capturing NativeProcessMemoryState with processes that are monitored in Watchdog and few new daemons. Bug: 115968899 Test: manually verified that they are included in statsd report Change-Id: I1cb07a6a6e8cc206a5d7cb68b8258a5816828450
This commit is contained in:
@@ -46,6 +46,27 @@ final class MemoryStatUtil {
|
||||
static final String[] MEMORY_STAT_INTERESTING_NATIVE_PROCESSES = new String[]{
|
||||
"/system/bin/statsd", // Stats daemon.
|
||||
"/system/bin/surfaceflinger",
|
||||
"/system/bin/apexd", // APEX daemon.
|
||||
"/system/bin/audioserver",
|
||||
"/system/bin/cameraserver",
|
||||
"/system/bin/drmserver",
|
||||
"/system/bin/healthd",
|
||||
"/system/bin/incidentd",
|
||||
"/system/bin/installd",
|
||||
"/system/bin/lmkd", // Low memory killer daemon.
|
||||
"/system/bin/logd",
|
||||
"media.codec",
|
||||
"media.extractor",
|
||||
"media.metrics",
|
||||
"/system/bin/mediadrmserver",
|
||||
"/system/bin/mediaserver",
|
||||
"/system/bin/performanced",
|
||||
"/system/bin/tombstoned",
|
||||
"/system/bin/traced", // Perfetto.
|
||||
"/system/bin/traced_probes", // Perfetto.
|
||||
"webview_zygote",
|
||||
"zygote",
|
||||
"zygote64",
|
||||
};
|
||||
|
||||
static final int BYTES_IN_KILOBYTE = 1024;
|
||||
|
||||
Reference in New Issue
Block a user