Instead of assuming the pid field is 4 bytes long, take its length from the header.
commit08211d209ae8fc7e67ea3bebb09979ff61c70f97
authorGuillaume Chazarain <guichaz@gmail.com>
Sat, 4 Sep 2010 11:57:43 +0000 (4 13:57 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Sat, 4 Sep 2010 12:00:54 +0000 (4 14:00 +0200)
tree9fc92626163b321996e87126e98d30a2587b6809
parent12fe7daf5ffa5f569b15284e411fb518d704a765
Instead of assuming the pid field is 4 bytes long, take its length from the header.
This is needed for http://lkml.org/lkml/2010/2/12/167
[PATCH] delayacct: align to 8 byte boundary on 64-bit systems
THANKS
iotop/data.py