summaryrefslogtreecommitdiff
path: root/librank
AgeCommit message (Collapse)Author
2016-08-23Don't invent our own pagemap constants.Elliott Hughes
Use the uapi ones instead, so I don't have to think about whether ours are correct. Bug: http://b/31044648 Change-Id: Ibe4a078ad3223419301a5f585e8ed24dd7366ce2
2016-03-01Merge "Fix one static analyzer warning."Chih-Hung Hsieh
am: 63728630cb * commit '63728630cb507e1b797eafb6b22cc0720684b87c': Fix one static analyzer warning.
2016-03-01Fix one static analyzer warning.Chih-Hung Hsieh
Result of 'realloc' is converted to a pointer of type 'struct mapping_info *', which is incompatible with sizeof operand type 'struct mapping *' BUG: 27121003 Change-Id: Ib05b884ba577751a382b7a5dbbfea8cca2e0f23f
2015-12-08librank: fix pm_memusage_t init and layout am: 76617ddbd1Thierry Strudel
am: 17c08c98fe * commit '17c08c98fe93f3b7b9f1c291910fd488bd3a6027': librank: fix pm_memusage_t init and layout
2015-12-08librank: fix pm_memusage_t init and layoutThierry Strudel
pm_memusage_t variables must be initialized to 0 or call initializer. Bug: 26083907 Change-Id: I62882be13de9c546e73bcdc24ec43ed0d5251db1
2015-09-22Remove the hack for including libpagemap's headers.Elliott Hughes
Change-Id: If75e007111f82178e372c88ab4dce62fd8ff7873
2015-04-23fix possible buffer overrun in librankdaegeun.song
Use snprintf instead of sprintf and fclose() before return. Change-Id: I2c367b2e7b943f4ed10551c18ecc971e6b830c66 Signed-off-by: Daegeun Song <daegeun.song@lge.com>
2014-03-17librank: 64-bit compile issuesMark Salyzyn
- size_t format and comparisons Change-Id: I00ad92ecf2566c7aa02b145e1b8679164b2c9f8a
2013-06-22librank: add flag to show only KSM pagesColin Cross
Passing -k will cause librank to only show KSM pages. The RSS column will approximate the memory used before KSM, and PSS will show the memory used after KSM. Change-Id: I62310b2cda97316b835cf7ebe51b5155872c37dc
2013-06-22librank: show swapped pages per libraryColin Cross
Add a column showing swapped pages per library, but only show it if swapped pages exist in at least one library. Change-Id: I8f5a55dee7ed8d1f02ed7c947f6a22f7a5771eb8
2013-06-11librank: add command line argument for cached or non-cached pagesColin Cross
Add -c and -C command line arguments to only count pages that are cached (backed by storage) or non-cached (backed by ram or swap) respectively. Non-cached pages include all anonymous pages, as well as file backed pages that are mapped private and then modified. Change-Id: I95025d52f1c876b9c41fcbddaef5e95e32ebf307
2013-06-11librank: add command line argument to show all mappingsColin Cross
Add -a command line argument to show all mappings, including anonymous, stack, and heap mappings. Change-Id: I7d80e2b4f5d880d434f57e1e7a37678917cd7407
2013-06-11librank: add permissions command line argumentColin Cross
Add a command line argument to only list pages with the given permissions. Change-Id: I884eedea607b250ac721e7fdac555992c435441f
2013-06-11librank: convert argument parsing to getopt_longColin Cross
Change-Id: Ia145018d9096a550febe465c9f5b5f00d36c444d
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
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-10-21Initial Contributionandroid-1.0release-1.0cdma-importThe Android Open Source Project