OSDN Git Service

Put statsd on system-background cpu set.
authorYao Chen <yaochen@google.com>
Fri, 19 Jan 2018 00:37:10 +0000 (16:37 -0800)
committerYao Chen <yaochen@google.com>
Fri, 19 Jan 2018 00:37:10 +0000 (16:37 -0800)
Bug: 72176997
Test: manual
Change-Id: Ic160dc8ffea8fd349185ad8b583e6c02dc7defa6

cmds/statsd/statsd.rc

index c260ae1..920273b 100644 (file)
@@ -16,6 +16,7 @@ service statsd /system/bin/statsd
     class main
     user statsd
     group statsd log
+    writepid /dev/cpuset/system-background/tasks
 
 on post-fs-data
     # Create directory for statsd