summaryrefslogtreecommitdiff
path: root/showmap
AgeCommit message (Collapse)Author
2014-04-18Ignore VmFlags: and other unrecognized fields.Jeff Brown
Fixed a bug that causes showmap to skip items when /proc/pid/smap included any unrecognized fields. Change-Id: Ic648d4272d0269ff226047cf2d3271e9e63bb302
2012-05-11Ignore SIGPIPE is some of the tools used via dumpstateJP Abgrall
adb bugreport > b & sleep 5; kill $? will show that a bunch of tools will SIGPIPE when trying to output data which is normal. We don't have a way on linux (bsd yes), to set NOSIGPIPE on the file desc passed down via fork/exec. Bug: 6447319 Change-Id: I1634a00a155fd8a3fd827aa4a77e94518534336c
2011-11-18Don't assume that the stack is always at 0x1000000.Nick Kralevich
With our ASLR changes, the stack is now located at a random location in memory. Remove the hardcoded assumption that the stack will always be between 0x10000000 and 0x40000000. Change-Id: Ic0b6d9e3ae844f057ace81a982cec7e2b344e179
2011-11-03showmap now includes the number of maps in a row.Dianne Hackborn
Change-Id: Ie8c5d01322ec7a2995a35ea050b38cc299568075
2011-07-13showmap enhancementsJeff Brown
Fixed a bug where maps were being coalesced even when they were not necessarily coalesced. Enhanced the BSS segment detection heuristic so that it takes the map start / end addresses into account and displays the inferred map type directly. Automatically sort all maps by name or address as appropriate. Fixed a bug parsing maps with paths that contain whitespace. Enhanced the -a argument to show the same columns as the normal mode but just prefixed with the virtual memory map information. Change-Id: Ice78afb0c5b597683cb1a1ba65e3c10f10258f7c
2011-07-07More robust parsing for smapsKenny Root
Change-Id: Ica273bf302bbc5025e48aa62eff5bf64fbdcac77
2009-05-18showmap: Add support for 2.6.29San Mehat
Signed-off-by: San Mehat <san@google.com>
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745The Android Open Source Project
2008-10-21Initial Contributionandroid-1.0release-1.0cdma-importThe Android Open Source Project