]> git.proxmox.com Git - mirror_lxcfs.git/commit
uptime: fix pid1 and reaper_busy times
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 14 Dec 2015 08:03:14 +0000 (09:03 +0100)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 17 Dec 2015 17:19:18 +0000 (09:19 -0800)
commit87e96963878fae85dade5b1107ca3e46f64a7279
treebb31572c8ea49bdf755f6acdca15a648d040459e
parent121013f74ca35633d460a699fb9ddbd46a942632
uptime: fix pid1 and reaper_busy times

- reaper_busy was off by a factor of 10 (possibly originally
for precision?)
- get_pid1_time was expecting a '1' byte like in
the pid_to/from_ns_wrapper functions instead of reading its
value which is what is actually written

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcfs.c