]> granicus.if.org Git - procps-ng/commit
pmap: use only address start to range determination
authorSami Kerola <kerolasa@iki.fi>
Sat, 3 Mar 2012 16:51:51 +0000 (17:51 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 4 Mar 2012 11:13:18 +0000 (12:13 +0100)
commitd5c760ee07d5f2f7d6e5bd78c79e48e74ed276b3
tree1b24640ec018ae89d7f38f1b2c595cf8efefbfea
parented57504c38941ce2a7620f6b107aec8d855b31c1
pmap: use only address start to range determination

Fix to an edge case.  When user defined begining of address range to
be at between two allocations the previous allocation which ended to
that address was included to printout.  After this commit one will
see only allocations that are within range definition.

$ pmap -A00007f4e0df08000,00007f4e0df08000 895
895:   bash
00007f4e0dd08000   2048K -----  /lib/libreadline.so.6.2
00007f4e0df08000      8K r----  /lib/libreadline.so.6.2
 total             2056K

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
pmap.c