summaryrefslogtreecommitdiffstats
path: root/llkd
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-10-08 14:22:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-08 14:22:18 +0000
commit6cc230f5877d35b9c3d21213fecbe69d7b130c16 (patch)
treef8ee9c7f1beae26f8c1c51c3f5ebb41d04003b92 /llkd
parente06850afdb3e57182d8fb2b65e180846a28b321e (diff)
parent00b2ce7005bfab7fb4d01671867964a10916b2aa (diff)
downloadsystem_core-6cc230f5877d35b9c3d21213fecbe69d7b130c16.tar.gz
system_core-6cc230f5877d35b9c3d21213fecbe69d7b130c16.tar.bz2
system_core-6cc230f5877d35b9c3d21213fecbe69d7b130c16.zip
Merge changes I49c9f064,I946e8564
* changes: llkd: Add cma_alloc stack symbol checking llkd: Add __get_user_page stack symbol checking
Diffstat (limited to 'llkd')
-rw-r--r--llkd/README.md2
-rw-r--r--llkd/include/llkd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llkd/README.md b/llkd/README.md
index 1f69718a1..e5be8502e 100644
--- a/llkd/README.md
+++ b/llkd/README.md
@@ -127,7 +127,7 @@ Only active on userdebug and eng builds.
default 2 minutes samples of threads for D or Z.
#### ro.llk.stack
-default *empty* or false, comma separated list of kernel symbols.
+default cma_alloc,__get_user_pages, comma separated list of kernel symbols.
The string "*false*" is the equivalent to an *empty* list.
Look for kernel stack symbols that if ever persistently present can
indicate a subsystem is locked up.
diff --git a/llkd/include/llkd.h b/llkd/include/llkd.h
index d0188ec79..c724fce10 100644
--- a/llkd/include/llkd.h
+++ b/llkd/include/llkd.h
@@ -48,7 +48,7 @@ unsigned llkCheckMilliseconds(void);
/* LLK_CHECK_MS_DEFAULT = actual timeout_ms / LLK_CHECKS_PER_TIMEOUT_DEFAULT */
#define LLK_CHECKS_PER_TIMEOUT_DEFAULT 5
#define LLK_CHECK_STACK_PROPERTY "ro.llk.stack"
-#define LLK_CHECK_STACK_DEFAULT ""
+#define LLK_CHECK_STACK_DEFAULT "cma_alloc,__get_user_pages"
#define LLK_BLACKLIST_PROCESS_PROPERTY "ro.llk.blacklist.process"
#define LLK_BLACKLIST_PROCESS_DEFAULT \
"0,1,2,init,[kthreadd],[khungtaskd],lmkd,lmkd.llkd,llkd,watchdogd,[watchdogd],[watchdogd/0]"