The bug is here since pmaps_smaps.patch was accepted.

The cause of zero in Kbytes column is line 170 in pmap.c, the patch sets
diff = 0 (pmap.c:170) for every mapping line. This is incorrect because
mapping virtual size is lost while parsing mapping statistics like dirty
pages count. The variable should be initialized only in parsing mapping
line.

Summary values was not available until pmaps_smaps.patch and probably
author simply forgot to print them in line 292 of pmap.c.

I'll attach debdiff  that fixes both problems for me, when it is done.

** Bug watch added: Debian Bug tracker #614513
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614513

** Also affects: procps (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614513
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/753124

Title:
  pmap: wrong output in extended format (-x option)

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to