389aee111725cc14e57c2d863fd67dbeb625207e |
|
02-May-2018 |
Yao Chen <yaochen@google.com> |
Fix the stats log in lmkd 1. let logs be written to statsd directly like all other stats logs. + stats log should not write to logd anymore(b/78239479) 2. fixed the log format + need to embed the elapsed real time in the log 3. fixed the log context reuse problem +reset the log context buffer and internal state before reuse Bug: 78603347 Bug: 78239479 Test: tested with alloc_stress, and saw logs written to statsd performance measurement (memory & cpu): https://paste.googleplex.com/5508158646648832 Change-Id: I345f0eace8ba1687ff480fb88e9abba1d8533f76
/system/core/lmkd/statslog.h
|
1c669f764d907d3aa2c90e0130110aaa13b7ca05 |
|
10-Mar-2018 |
Rajeev Kumar <rajekumar@google.com> |
Fix compilation issue when LMKD_LOG_STATS is defined. Note: The breakage was caused by http://ag/3621623 Test: mmma system/core/lmkd/ Change-Id: I17033aeedb3183d4777dacb89ec84430ff061b3c Bug: 74443701 (cherry picked from commit fb25ddd9c9004de9a9ebb1175a6ceaf7aeec0673)
/system/core/lmkd/statslog.h
|
61421baf96b45168ff7039d6c6b3e0649dcfb31d |
|
01-Feb-2018 |
Mark Salyzyn <salyzyn@google.com> |
lmkd: move sundry pieces to statslog.h Pragma once is not part of the standard, and is actually a gnu C++ addition. Android coding standard requires the #ifndef header wrappers. Moved things that belong in statslog.h from the lmkd files. SideEffects: None Test: lmkd_unit_tests Bug: 33808187 Bug: 72838192 Change-Id: I9686b1a0791ee2b723d05b91905eda0bb64a1156
/system/core/lmkd/statslog.h
|
7045003d0df8d07e41639319771cbe70206bb03c |
|
01-Feb-2018 |
Rajeev Kumar <rajekumar@google.com> |
Implement stats logging in LMKD. It implements logging of following atoms: -- LMK_STATE_CHANGED -- LMK_KILL_OCCURRED We would like to gather memory metrics of the process killed by LMKD because by gathering this info we would be able to analyze and improve system health by potentially reducing memory footprint of the process. This feature would be available on production builds. To know more about this see: http://go/android-p-memory-metrics Bug: 65738734 Test: Tested manually Change-Id: I064e0cdcb47c3b4c95d8b8d5654050c9812008d8
/system/core/lmkd/statslog.h
|
f0216a8ac53ef68bf581b162a31d9b7e2378c270 |
|
24-Jan-2018 |
Rajeev Kumar <rajekumar@google.com> |
Functions to log stats log from LMKD. Bug: 72177881 Test: Manual Change-Id: I0f618013e242fabae785b62eb39f9bfbcaac16da
/system/core/lmkd/statslog.h
|