commit | 7c9f30bfb361ccb864e6d130e0f4f2af53fc1c32 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Feb 27 10:57:13 2013 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Feb 27 11:34:42 2013 -0800 |
tree | 696b2c3378c9ec73e46c84e45814be567aa1e079 | |
parent | 545464df282273209a837569f05e9990173f4d56 [diff] |
Track stack memory in MemoryInfo. In /proc/pid/maps the main stack is identified as "[stack]". In Linux 3.4 thread stacks are identified as "[stack:<tid>]" where <tid> is the thread ID of the thread using that stack. Add support in MemInfo's otherStats to track memory being used by the stack. Add sanity check on the length of the otherStats array. Add detail messages to two null pointer exceptions. Bug: 8265251 Change-Id: I2b228b147da9bdc5c7a4d825dfc628fcc7923927