Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 351e74de authored by Arve Hjønnevåg's avatar Arve Hjønnevåg
Browse files

Add /proc/pagetypeinfo to dumpstate

This shows memory fragmentation

Change-Id: I1ba2a764c1f61ce4b29ea14b4b951994488f4c48
parent 0a2f9664
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ static void dumpstate() {
    dump_file("VMALLOC INFO", "/proc/vmallocinfo");
    dump_file("SLAB INFO", "/proc/slabinfo");
    dump_file("ZONEINFO", "/proc/zoneinfo");
    dump_file("PAGETYPEINFO", "/proc/pagetypeinfo");

    if (screenshot_path[0]) {
        LOGI("taking screenshot\n");