summaryrefslogtreecommitdiff
path: root/libsparse/sparse.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-09 12:31:36 -0700
commita1dbb456dc44a28c21c6a0e7ad63c4093da99cb8 (patch)
treee3a2442e6e4fa17b172aa95eb519450a057bcd5f /libsparse/sparse.cpp
parent364ee4aa456576b8b13da1511c4306498d7762fa (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. Bug: 130177765 Test: Tested by deliberately killing specific process in ProcessRecord() constructor Change-Id: I701808c3226bb9b3a350ccf8e67fb29b59b0d4e0 Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions