Pull process cpu stats into statsd
Here is a sample output: $ adb shell cmd stats pull-source 10035 Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->0[I] 0x20000->ksoftirqd/0[S] 0x30000->0[L] 0x40000->720[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->1000[I] 0x20000->android.hardware.graphics.composer@2.1-service[S] 0x30000->1390[L] 0x40000->2240[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->1002[I] 0x20000->android.hardware.bluetooth@1.0-service-qti[S] 0x30000->50[L] 0x40000->80[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->1010[I] 0x20000->android.hardware.wifi@1.0-service[S] 0x30000->80[L] 0x40000->150[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->1069[I] 0x20000->lmkd[S] 0x30000->60[L] 0x40000->280[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->9999[I] 0x20000->traced_probes[S] 0x30000->0[L] 0x40000->10[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->1066[I] 0x20000->statsd[S] 0x30000->160[L] 0x40000->160[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10024[I] 0x20000->com.android.systemui[S] 0x30000->3020[L] 0x40000->740[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10058[I] 0x20000->com.ustwo.lwp[S] 0x30000->9120[L] 0x40000->7810[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10080[I] 0x20000->com.google.android.apps.turbo[S] 0x30000->410[L] 0x40000->150[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10085[I] 0x20000->com.google.android.gms.persistent[S] 0x30000->9890[L] 0x40000->2560[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10110[I] 0x20000->com.google.android.ims[S] 0x30000->530[L] 0x40000->210[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10097[I] 0x20000->com.google.android.apps.maps[S] 0x30000->1170[L] 0x40000->290[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10014[I] 0x20000->android.process.acore[S] 0x30000->500[L] 0x40000->180[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->10131[I] 0x20000->com.google.android.contacts[S] 0x30000->270[L] 0x40000->160[L] } Pull from 10035: { 1539500981000000000 222067020557 (10035)0x10000->2000[I] 0x20000->cmd[S] 0x30000->20[L] 0x40000->60[L] } Bug: 113353129 Test: will add cts Change-Id: Ia5335910e4f044791e9043823cc4f007d372e7d3
Loading
Please register or sign in to comment