OSDN Git Service

Add min_score_adj into LmkKillOccurred event
authorSuren Baghdasaryan <surenb@google.com>
Mon, 4 Mar 2019 19:09:31 +0000 (11:09 -0800)
committerSuren Baghdasaryan <surenb@google.com>
Tue, 5 Mar 2019 15:24:08 +0000 (15:24 +0000)
Log min_score_adj when lmkd kills a process to determine the oom_score
levels that lmkd considers during the kill.
Accompanies Piper cl/236692672

Bug: 123024834
Change-Id: Ibfec13ef80ef1d74f5f224dde2e24970f7a88bfa
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
cmds/statsd/src/atoms.proto

index 2fe6caf..47eccdb 100644 (file)
@@ -2410,6 +2410,9 @@ message LmkKillOccurred {
 
     // The elapsed real time of start of the process.
     optional int64 process_start_time_nanos = 9;
+
+    // Min oom adj score considered by lmkd.
+    optional int32 min_oom_score = 10;
 }
 
 /*