Android: Skip /dev/mali0 to reduce crash logs by 10% on some devices

This commit is contained in:
UnknownShadow200 2021-09-29 22:38:12 +10:00
parent 9b9cc97336
commit 0aacf445c5

View File

@ -641,7 +641,7 @@ static int SkipRange(const cc_string* str) {
/* Android has a lot of ranges in /maps, which produces 100-120 kb of logs for one single crash! */
/* As such, to cut down the crash logs to more relevant information, ignore shared memory and fonts */
/* (e.g. removes a ton of '/dev/ashmem/dalvik-thread local mark stack (deleted)' entries */
return String_ContainsConst(str, "/system/fonts/") || String_ContainsConst(str, "/dev/ashmem/");
return String_ContainsConst(str, "/system/fonts/") || String_ContainsConst(str, "/dev/ashmem/") || String_ContainsConst("/dev/mali0");
}
#else
static int SkipRange(const cc_string* str) { return false; }