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
This commit is contained in:
Colin Cross 2012-10-28 22:41:06 -07:00
parent f45c510009
commit 2281af967d

View File

@ -85,6 +85,7 @@ static void dumpstate() {
dump_file("ZONEINFO", "/proc/zoneinfo"); dump_file("ZONEINFO", "/proc/zoneinfo");
dump_file("PAGETYPEINFO", "/proc/pagetypeinfo"); dump_file("PAGETYPEINFO", "/proc/pagetypeinfo");
dump_file("BUDDYINFO", "/proc/buddyinfo"); dump_file("BUDDYINFO", "/proc/buddyinfo");
dump_file("FRAGMENTATION INFO", "/d/extfrag/unusable_index");
dump_file("KERNEL WAKELOCKS", "/proc/wakelocks"); dump_file("KERNEL WAKELOCKS", "/proc/wakelocks");