History log of /system/extras/libpagemap/pm_process.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76e6cb55fed01824e44306aa0485a3f8f122b228 21-Jan-2012 Selim Gurun <sgurun@google.com> Fix various issues in procrank.

Fixed these problems:
1. Page swapped bit was not extracted correctly.
2. Pages were ignored when page present bit is not set.
3. Bit operations were not correct.
4. There was a compiler warning about unsigned/signed comparision.
5. Line limit was too short for the map file. This was causing procrank
to generate a warning and remove the related process from results.

Change-Id: Ifed3913a49b15f59010cfa842090a13228074df9
/system/extras/libpagemap/pm_process.c
6620157c0f583c4c7a59d1d595589dbb2b3ae4b5 13-Jul-2011 Colin Cross <ccross@android.com> Handle EOF when reading /proc/<pid>/pagemap

Instead of handling maps with the name "[vectors]" specially,
silently ignore EOF when reading from /proc/<pid>/pagemap, which
occurs any time a a mapping is outside of the userspace range.

Change-Id: I674ade1eab6fd7732c6d9e120d0750cca5415b25
/system/extras/libpagemap/pm_process.c
5923f33ed7cf186ceac3541987efcc32beb29ab9 13-Jul-2011 Colin Cross <ccross@android.com> Ignore the vector page in /proc/<pid>/maps

In kernel 2.6.37, the vector page was added to /proc/<pid>/maps,
but because it is located above TASK_SIZE (usually 0xbf000000),
it is considered to be in the kernel's address space, not the
process', so it doesn't show up in /proc/<pid>/pagemap.

When the vector page is detected, using the name "[vectors]",
remove it from the map.

Change-Id: I5f0758bbe5d2b927056fa9fee684fea63dd0fa4b
/system/extras/libpagemap/pm_process.c
e16cb84e2324f05334d18dcf5956f20f44262b62 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/extras/libpagemap/pm_process.c
19ddb4b1680760e2d6863c3003976882ebd9d0fa 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/extras/libpagemap/pm_process.c
7341494707810f709855ea85ce03a8ec3ac8dbaf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/extras/libpagemap/pm_process.c