commit | 6d2d7aca1043257b3234a6e6aa44e30c51e4ddbd | [log] [tgz] |
---|---|---|
author | thestig <thestig@chromium.org> | Wed Dec 16 17:33:30 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 02:04:55 2020 +0900 |
tree | 33dabe05f797763d5146f1e6c516c10f2e55d41f | |
parent | f6383d06d1993c0d04eb6b2ea9dd5e92eaf495a7 [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} CrOS-Libchrome-Original-Commit: cf4c85b1897bf9b1f62e4c48a4faf122958c3790