diff options
author | Colin Cross <ccross@android.com> | 2012-10-28 22:41:06 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-10-28 22:41:06 -0700 |
commit | 2281af967dd840aade7bc55b19ea7df0e6da36f2 (patch) | |
tree | 6bb85bfa7eb13842fe12ab1dd3a194e86b3f3e74 /cmds/dumpstate | |
parent | f45c510009edab4a3e93f8d66b2e30aa26759fed (diff) | |
download | frameworks_native-2281af967dd840aade7bc55b19ea7df0e6da36f2.zip frameworks_native-2281af967dd840aade7bc55b19ea7df0e6da36f2.tar.gz frameworks_native-2281af967dd840aade7bc55b19ea7df0e6da36f2.tar.bz2 |
dumpstate: add kernel memory fragmentation unusable index
Dump /d/extfrag/unusable_index in bugreports. It shows the
percentage of memory in each zone that is not available for
allocations for each order.
Change-Id: I2af6680cb609887ea7b3d6107d1aa88bd0206b52
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index ef5c2e9..f3fcca0 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -85,6 +85,7 @@ static void dumpstate() { dump_file("ZONEINFO", "/proc/zoneinfo"); dump_file("PAGETYPEINFO", "/proc/pagetypeinfo"); dump_file("BUDDYINFO", "/proc/buddyinfo"); + dump_file("FRAGMENTATION INFO", "/d/extfrag/unusable_index"); dump_file("KERNEL WAKELOCKS", "/proc/wakelocks"); |