DescriptionLinux: 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
Committed: https://crrev.com/cf4c85b1897bf9b1f62e4c48a4faf122958c3790
Cr-Commit-Position: refs/heads/master@{#365504}
Patch Set 1 #Patch Set 2 : nit #
Messages
Total messages: 9 (3 generated)
|