diff options
| author | 2018-10-01 11:39:58 +0100 | |
|---|---|---|
| committer | 2018-10-01 11:39:58 +0100 | |
| commit | e35d8f8d6a991865065e480dd71e89a60fa5bf44 (patch) | |
| tree | 283c8ea7fd5dd9009d331de00247ba524b3585c7 | |
| parent | 6ef0182f07a5a5b53f46ed4d9921cc115ac77e36 (diff) | |
Fix: statsd path in whilelist of native processes
This whitelist is used when calling Process.getPidsForCommands. That
method reads all pid directories under /proc and returns only those
which /proc/pid/cmdline matches the whitelist. Statsd returns
/system/bin/statsd in its cmdline and therefore was not included in the
results and ignored from reporting.
Bug: 116784348
Test: cat /proc/pid/cmdline for statsd
Change-Id: I2c37a25dd26baac1ac043f9a559a391bdc32041e
| -rw-r--r-- | services/core/java/com/android/server/Watchdog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/Watchdog.java b/services/core/java/com/android/server/Watchdog.java index 59093c19d733..289143c87ac0 100644 --- a/services/core/java/com/android/server/Watchdog.java +++ b/services/core/java/com/android/server/Watchdog.java @@ -87,7 +87,7 @@ public class Watchdog extends Thread { "media.metrics", // system/bin/mediametrics "media.codec", // vendor/bin/hw/android.hardware.media.omx@1.0-service "com.android.bluetooth", // Bluetooth service - "statsd", // Stats daemon + "/system/bin/statsd", // Stats daemon }; public static final List<String> HAL_INTERFACES_OF_INTEREST = Arrays.asList( |