diff options
author | Christopher Tate <ctate@google.com> | 2013-03-19 13:12:23 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2013-04-01 10:37:24 -0700 |
commit | ded2e5acfcf0c705f08577d0ccb720bd5037f4ba (patch) | |
tree | 909be0b0bf450f3fcc1f5a6313f799b151e0572b /debuggerd/debuggerd.c | |
parent | d67bbab6d873c073fa5c3bdb93e8f32106898123 (diff) | |
download | system_core-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.zip system_core-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.tar.gz system_core-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.tar.bz2 |
debuggerd now notifies the Activity Manager about native crashes
The Activity Manager sets up a permission-guarded domain socket, which
debuggerd connects to when a crash happens. If this is successful,
the daemon then mirrors the logged crash report to that socket, then
closes it.
Bug 8322568
Change-Id: Ife0c772a628ef82e8457094e511ce1edbfe57460
Diffstat (limited to 'debuggerd/debuggerd.c')
-rw-r--r-- | debuggerd/debuggerd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debuggerd/debuggerd.c b/debuggerd/debuggerd.c index 65ff0f6..2736f30 100644 --- a/debuggerd/debuggerd.c +++ b/debuggerd/debuggerd.c @@ -314,7 +314,8 @@ static void handle_request(int fd) { &total_sleep_time_usec); } else if (request.action == DEBUGGER_ACTION_DUMP_BACKTRACE) { XLOG("stopped -- dumping to fd\n"); - dump_backtrace(fd, request.pid, request.tid, &detach_failed, + dump_backtrace(fd, -1, + request.pid, request.tid, &detach_failed, &total_sleep_time_usec); } else { XLOG("stopped -- continuing\n"); |