fbc3d45c787fe0eb63c3a7bb1a650c7ede5ab16e |
|
09-Dec-2015 |
Greg Hackmann <ghackmann@google.com> |
procrank: prefer new zram ABI Starting with Linux 4.1, reading from /dev/block/zram*/mem_used_total logs this warning: "Attribute mem_used_total (and others) will be removed. See zram documentation." mem_used_total and several related counters are now consolidated under a new node mm_stat. Prefer that when it's available. Bug: 25951511 Change-Id: Ida732ee56a1e39e01c390f61bb40b3f52f643004 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/system/extras/procrank/procrank.c
|
08ea6e722b1f2d6359f54fe39c6bed82f524291c |
|
21-Nov-2015 |
Thierry Strudel <tstrudel@google.com> |
procrank: add proportional swap accounting Shared pages are reported in each of the sharing process swapped pages. Compute a proportional swap usage to get a meaningful value of what each process has in swap. Report also process unique pages swapped out. In case ZRAM is used compute the compression ration and report the actual RAM use of the swapped pages. Bug: 25392275 Change-Id: I3a28c7812a09a02e1a604593615f5c6ad0340f9f
/system/extras/procrank/procrank.c
|
5e20c25f630fcaace1728090a43998f076b2851f |
|
20-Nov-2015 |
Thierry Strudel <tstrudel@google.com> |
procrank: Fix some printf alignements Bug: 25392275 Change-Id: I8ea4d01310190c34b68d3f3140ea336ad82df665
/system/extras/procrank/procrank.c
|
aa5a7df9d83c39e41fd07c1281a9912544022448 |
|
18-Jun-2015 |
Yu Liu <e7664c@motorola.com> |
Swap column in procrank not reported with swap enabled Bug: 25392275 Change-Id: I6d2a0b03abba555b3667f6ccf12896caeecf27aa
/system/extras/procrank/procrank.c
|
4d2488a838132e7dc8fb86238ed225a6f8bc0ec4 |
|
17-Jun-2014 |
Colin Cross <ccross@android.com> |
procrank: support >4GB of memory from 32-bit procrank Use uint64_t for sizes. Change-Id: Ic686b4cbf4406aec1e9b01810924488bff63722e
/system/extras/procrank/procrank.c
|
af3263f8473a8519e05570fcf895fe3ff3fbd953 |
|
10-Jan-2013 |
Ashok Bhat <ashok.bhat@arm.com> |
procrank: Use %zu for size_t and %d for pid_t Change-Id: Ic339a05a3091ec6b33b68bc5e76082de3513e9c7 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/system/extras/procrank/procrank.c
|
8a807c3192fac171190c462010789399f67b3de8 |
|
22-Jun-2013 |
Colin Cross <ccross@android.com> |
procrank: add support for only showing cached, noncached, or KSM pages Add the -c, -C, and -k arguments to only show pages that are cached (backed by storage), non-cached (backed by ram or swap), or have been collapsed by KSM respectively. Change-Id: I707570ad406106b0aca230d18f9945901d193aca
/system/extras/procrank/procrank.c
|
6f5b13c5f68995db4191ec1b8cc97e18fbd7b390 |
|
21-Jun-2013 |
Colin Cross <ccross@android.com> |
procrank: show swapped pages per process Add a column showing swapped pages per process, but only show it if swapped pages exist in at least one process. Change-Id: I51a12fb8999c2a73418277fd575e7109478667d5
/system/extras/procrank/procrank.c
|
80cb15504324667c9934ff350afff48881613393 |
|
11-May-2012 |
JP Abgrall <jpa@google.com> |
Ignore SIGPIPE is some of the tools used via dumpstate 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
/system/extras/procrank/procrank.c
|
83b0b0a57a0c20984e207e4d6987faeba736140c |
|
05-Nov-2011 |
Dianne Hackborn <hackbod@google.com> |
Include the shared memory and slab memory in procrank output. Change-Id: I0dac539c220fda867ce166d78dc898a8ec7aa18a
/system/extras/procrank/procrank.c
|
e9eeec84408d01bf56b9297125a2ebc2638344c8 |
|
18-Jul-2011 |
Dianne Hackborn <hackbod@google.com> |
Add information about totals to procrank. Now print a sum of all pss and uss at then end of the output, and then print information from /proc/meminfo to help put those in context. Change-Id: I323d219820830e9435bb4dcfd78cbb9a3d6c129c
/system/extras/procrank/procrank.c
|
eff788820689e7c2bfd456934e8132a381b31235 |
|
13-Jul-2011 |
Colin Cross <ccross@android.com> |
Detect an error case and prevent printing an uninitialized variable pm_process_usage can return an error, and leave procs[i]->usage unitialized. Detect the error case and print a warning. Also make the initialization of procs[i]->usage to 0 unconditional, so nothing will be printed in the final procrank stats when an error is detected. Change-Id: I03f90ae6a5ebb201b6e9e43593cec225e1a8ded0
/system/extras/procrank/procrank.c
|
b56034796a7cadee89c4cd5e3c0f0730193231de |
|
17-Nov-2010 |
Olivier Bailly <olivier@google.com> |
Add missing include headers for compilation on Intel SDK for Google TV. Change-Id: I172667643e13e2e1c278fd4c0156d5a2445d79f7
/system/extras/procrank/procrank.c
|
16abe7acb8f1dbeb8b9b1dc41061a53dcbfea851 |
|
21-Sep-2010 |
Kenny Root <kroot@google.com> |
Better handling for the process info array We have phones that have more than 256 PIDs running at one time right now, so don't segmentation fault when that condition happens. Free all proc info after it ahs been used. Also if a process goes away before we read its process name, just print "<unknown>" instead. Change-Id: Ia3899be61b047852f62bf3cc6f30eb2fcd797a61
/system/extras/procrank/procrank.c
|
e16cb84e2324f05334d18dcf5956f20f44262b62 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/extras/procrank/procrank.c
|
19ddb4b1680760e2d6863c3003976882ebd9d0fa |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/extras/procrank/procrank.c
|
7341494707810f709855ea85ce03a8ec3ac8dbaf |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/system/extras/procrank/procrank.c
|