diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2018-11-20 08:28:24 -0800 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2018-11-20 09:00:05 -0800 |
| commit | 0ade88c83de7f207389d2c7a8385e927604dae70 (patch) | |
| tree | db4a5afc08dd335071cf810eebc5ba3cd4e80d17 /trusty/coverage/coverage.cpp | |
| parent | 630d803dee8ac55c097772045704f59fb8bf4f7e (diff) | |
storaged: emplace recent_perf in load_perf_history_proto
If recent_perf contains existing content, overwrite in method
load_perf_history_proto. If proto of recent_perf contains a lot of
history, the content would have grown with system_server crashes.
Test: setprop ro.storaged.flush_proto.interval 60
while true;do sleep 5;stop;sleep 1;start;ps -A|grep storaged;done
and look at value for rss should remain about 4MB over long term.
Bug: 119798824
Change-Id: I50aae7d61eb791a8fcddbbd829254baf8f708186
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
