diff options
| author | 2018-03-01 12:18:26 -0800 | |
|---|---|---|
| committer | 2018-03-01 13:28:31 -0800 | |
| commit | 51b54606d70436f79d812defca3f73bff006149d (patch) | |
| tree | 5dd68cf4e5810fd947b6af234938a1fdd79db4ff | |
| parent | b437f30f286131cc3a01bca7b56ca7dcab37cf74 (diff) | |
Create a pushed atom that gets logged when the ActivityManagerService detects that an app died.
Test: Manual
Bug: 73660232
Change-Id: I8e1fda35deb1e6876da0b6638fefea9f1b92b641
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 42ae0226228e..8e06504c41d8 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -104,6 +104,7 @@ message Atom { KeyguardStateChanged keyguard_state_changed = 62; KeyguardBouncerStateChanged keyguard_bouncer_state_changed = 63; KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered = 64; + AppDied app_died=65; // TODO: Reorder the numbering so that the most frequent occur events occur in the first 15. } @@ -1235,6 +1236,17 @@ message LmkKillOccurred { optional int64 swap_in_bytes = 8; } +/* + * Logs when the ActivityManagerService detects that an app died. + * + * Logged from: + * frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java + */ +message AppDied { + // timestamp(elapsedRealtime) of record creation + optional uint64 timestamp_millis = 1; +} + ////////////////////////////////////////////////////////////////////// // Pulled atoms below this line // ////////////////////////////////////////////////////////////////////// |