diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-09-04 06:37:51 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-04 06:37:51 -0700 |
| commit | a65b91a0c4d3cbce67beaba567a5f43fec5dc5bd (patch) | |
| tree | 2f6f4fd6a6e06b79b08dde080eaf227e464e5ea8 /kernel | |
| parent | acd46c78a2f351ed84c1cd2039dbcbc006aae880 (diff) | |
| parent | af5a88a343145f4e2235a2cda97cb0494a07b9b6 (diff) | |
Merge "soc: qcom: dump current task stack and task_struct for minidump"
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 679254405510..75f564a94a82 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -24,6 +24,7 @@ #include <linux/init.h> #include <linux/nmi.h> #include <linux/console.h> +#include <soc/qcom/minidump.h> #define CREATE_TRACE_POINTS #include <trace/events/exception.h> @@ -108,6 +109,7 @@ void panic(const char *fmt, ...) va_start(args, fmt); vsnprintf(buf, sizeof(buf), fmt, args); va_end(args); + dump_stack_minidump(0); pr_emerg("Kernel panic - not syncing: %s\n", buf); #ifdef CONFIG_DEBUG_BUGVERBOSE /* |
