summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2019-05-23 07:26:39 (GMT)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>2019-05-23 07:26:39 (GMT)
commit3f34c3cc5394177fb2621089fb1f3396382dc42a (patch)
treea296e76c24e2552a3604934d6c3aaeb0050e5c33
parentd92f23106747f216b54f1fa1919d25ca95283502 (diff)
downloadcrash-worker-sandbox/mmoscicki2/sysassert-message.zip
crash-worker-sandbox/mmoscicki2/sysassert-message.tar.gz
crash-worker-sandbox/mmoscicki2/sysassert-message.tar.bz2
Change-Id: I8e99c6037db0732dd704337d1cd84f4e6e8fc5fa
-rw-r--r--src/crash-manager/crash-manager.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crash-manager/crash-manager.c b/src/crash-manager/crash-manager.c
index bc7d1b3..4977cd0 100644
--- a/src/crash-manager/crash-manager.c
+++ b/src/crash-manager/crash-manager.c
@@ -868,9 +868,13 @@ static bool execute_crash_modules(struct crash_info *cinfo)
#ifdef SYS_ASSERT
/* Use process_vm_readv() version as fallback if sys-assert
* failed to generate report */
- if (cinfo->have_sysassert_report)
+ if (cinfo->have_sysassert_report) {
+ _I("Have sys-assert report");
+ printf("Have sys-assert report\n");
return false;
+ }
#endif
+ _I("Starting the crash-stack");
execute_crash_stack(cinfo, NULL);
if (cinfo->livedump)
process_continue(cinfo->pid_info);