summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2019-04-09 12:31:36 -0700
committerSandeep Patil <sspatil@google.com>2019-04-10 08:01:06 -0700
commitc4c05e3b25c4e2935f5214850b8ff3103f94dc25 (patch)
tree6341c84c9085cdf66fb5364f53304940f8cb34f0 /trusty/coverage/coverage.cpp
parent83e52ce905d2655f074d264069d7f49459c1912d (diff)
libmeminfo/procrank: Ignore failures when process disappears.
procrank currently fails if a process gets killed while it is reading the stats. This behavior is a regression from the previous version of procrank and is often undesired. Change procrank to silently ignore the process if it detects that it had been killed while reading the stats. If the process is still around, then print a warning about it and continue to read stats for other processes in the system. Fixes: 130177765 Test: Tested by deliberately killing specific process in ProcessRecord() constructor Change-Id: I701808c3226bb9b3a350ccf8e67fb29b59b0d4e0 Merged-In: I701808c3226bb9b3a350ccf8e67fb29b59b0d4e0 Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions