mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 18:15:28 -04:00
Android: Skip /dev/mali0 to reduce crash logs by 10% on some devices
This commit is contained in:
parent
9b9cc97336
commit
0aacf445c5
@ -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! */
|
/* 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 */
|
/* 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 */
|
/* (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
|
#else
|
||||||
static int SkipRange(const cc_string* str) { return false; }
|
static int SkipRange(const cc_string* str) { return false; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user