summaryrefslogtreecommitdiff
path: root/librank
AgeCommit message (Collapse)Author
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