From 2281af967dd840aade7bc55b19ea7df0e6da36f2 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Sun, 28 Oct 2012 22:41:06 -0700 Subject: [PATCH] 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 --- cmds/dumpstate/dumpstate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index ef5c2e904..f3fcca05a 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");