From 1fbaa1f2b2788b9501823754e9ede4df908bfdd6 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Mon, 4 Mar 2019 11:09:31 -0800 Subject: [PATCH] Add min_score_adj into LmkKillOccurred event 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 --- cmds/statsd/src/atoms.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 2fe6caf8844c5..47eccdbc8c1f1 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -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; } /*