Files
kubernetes/pkg/util/procfs
Brian Goff 01034af976 getPids - don't recursively traverse every dir
`filepath.Walk` recursively traverses every dir, which is not what is
needed for getPids.
Instead only read the list of dirs in the top level of `/proc`.

```
benchmark              old ns/op     new ns/op     delta
BenchmarkGetPids-4     868684        195522        -77.49%
```
2018-07-19 09:42:52 -07:00
..
2018-06-22 16:22:57 -07:00
2016-07-16 13:48:21 -04:00
2017-04-04 14:16:34 +08:00
2016-08-18 17:01:03 +02:00