cpudist: Attempt to resolve pid to command
authorSasha Goldshtein <goldshtn@gmail.com>
Wed, 29 Jun 2016 09:18:06 +0000 (02:18 -0700)
committerSasha Goldshtein <goldshtn@gmail.com>
Thu, 30 Jun 2016 13:38:27 +0000 (06:38 -0700)
commit4b72f052968bbf048430310d22871d1c7a77558d
tree15eb2f189b1cde97804f35776a686432b7d4256f
parent9972f27b2b28a9fee2f877e1018f6b24eef9478a
cpudist: Attempt to resolve pid to command

Use `/proc/$PID/comm`, which may fail, for example if the original
process already exited. This may also produce misleading results
if another process got the same pid, but there's no way around this.
tools/cpudist.py