History log of /system/extras/libpagemap/include/pagemap/pagemap.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e2998ffe6f494f06b25aca372c1d35cd47390b98 17-Jun-2014 Colin Cross <ccross@android.com> libpagemap: support 64-bit kernel from 32-bit libpagemap

Use uint64_t and lseek64 to handle 64-bit virtual addresses
when libpagemap is compiled as a 32-bit library.

Change-Id: Ie4b6c7ef05aac604011f3ee28b059d9dfcd63edb
/system/extras/libpagemap/include/pagemap/pagemap.h
ae7f672c066d09e719dcf21d943d2842c7001ebb 06-May-2014 Torne (Richard Coles) <torne@google.com> Add {BEGIN,END}_DECLS to header file.

Enable this header to be cleanly included in C++ code.

Change-Id: Ie4ae60629661237ce07b49b17802f01bf95552d8
/system/extras/libpagemap/include/pagemap/pagemap.h
f1b1ad241f6371c4254e17e2fe962023a630b55d 22-Jun-2013 Colin Cross <ccross@android.com> libpagemap: add pm_process_usage_flags

Add pm_process_usage flags to get memory usage by a process, only
counting pages with specified flags set.

Change-Id: I900b673ddbb5ae92312773a8670dd59769617268
/system/extras/libpagemap/include/pagemap/pagemap.h
83dc12a6d0ac56198b8655db779faee3610beebe 22-Jun-2013 Colin Cross <ccross@android.com> libpagemap: fix new kernel flag names to start with PM_PAGE_

Change-Id: I6b030d9d0356d63b3ddb853de304407bc70b38c4
/system/extras/libpagemap/include/pagemap/pagemap.h
745b964daeacf44350db14bc343d53e319e696b8 21-Jun-2013 Colin Cross <ccross@android.com> libpagemap: count swapped pages

Add a new memusage field for swapped pages.

Change-Id: I857143a5fdd294315dd89e834b1217a219f10479
/system/extras/libpagemap/include/pagemap/pagemap.h
3a1897792d0b5cc972d879af297ee5cfd095be68 23-May-2013 Colin Cross <ccross@android.com> libpagemap: add pm_map_usage_flags

Add pm_map_usage_flags, which is the same as pm_map_usage but only
counts pages with the specified flags set. This can be used to
only count "swapbacked" pages, which are pages that cannot be
flushed back to disk without using swap.

Change-Id: I6367555d9385502c797935849bb4221a8354e251
/system/extras/libpagemap/include/pagemap/pagemap.h
20645cf8d35f1a67dda86f0056f0254c0c56871f 22-May-2013 Colin Cross <ccross@android.com> libpagemap: add page flags for new kernels

Change-Id: If4a4a2bbe9b1a68c5dce1151cf8b7c60cae1a3fa
/system/extras/libpagemap/include/pagemap/pagemap.h
d11471ca09827ff15912044e1ba69e3eedd69b15 23-May-2013 Colin Cross <ccross@android.com> libpagemap: add definition for mask of permission flags

Change-Id: Ibd0b26e4f5245592152d2c8ef00e7da1ad5f3fdf
/system/extras/libpagemap/include/pagemap/pagemap.h
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/include/pagemap/pagemap.h
e16cb84e2324f05334d18dcf5956f20f44262b62 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/extras/libpagemap/include/pagemap/pagemap.h
19ddb4b1680760e2d6863c3003976882ebd9d0fa 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/extras/libpagemap/include/pagemap/pagemap.h
7341494707810f709855ea85ce03a8ec3ac8dbaf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/extras/libpagemap/include/pagemap/pagemap.h