Age | Commit message (Collapse) | Author |
|
Use uint64_t for sizes.
Change-Id: Ic686b4cbf4406aec1e9b01810924488bff63722e
|
|
Change-Id: Ic339a05a3091ec6b33b68bc5e76082de3513e9c7
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
|
|
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
|
|
Add a column showing swapped pages per process, but only show it
if swapped pages exist in at least one process.
Change-Id: I51a12fb8999c2a73418277fd575e7109478667d5
|
|
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
|
|
Change-Id: I0dac539c220fda867ce166d78dc898a8ec7aa18a
|
|
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
|
|
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
|
|
Change-Id: I172667643e13e2e1c278fd4c0156d5a2445d79f7
|
|
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
|
|
|
|
|
|
|