commit | cf4c85b1897bf9b1f62e4c48a4faf122958c3790 | [log] [tgz] |
---|---|---|
author | thestig <thestig@chromium.org> | Wed Dec 16 08:33:30 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 16 08:34:16 2015 |
tree | 439e988b92c27d00b0a3c14a51423eaebfad7c31 | |
parent | 4a00f459c73322bb608fac758972111ad4401023 [diff] |
Linux: Correctly count the number of open file descriptors. The initial implementation of ProcessMetrics::GetOpenFdCount() counted "." and ".." as well. Add a unit test to verify the counting is correct. BUG=496957 Review URL: https://codereview.chromium.org/1526253003 Cr-Commit-Position: refs/heads/master@{#365504}