binder: add target pid:tid to transaction failed message

The binder debug message for transaction failed included
the sender information, but not the target. Add target pid:tid
to the message.

Bug: 62976829
Test: tested manually
Change-Id: I985a5107c7ba16bcf0bfe6f513ddbe5f000825fd
Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
Todd Kjos
2017-06-27 14:31:46 -07:00
parent 05aaa764f5
commit 533020a794

View File

@@ -2510,10 +2510,10 @@ err_no_context_mgr_node:
binder_put_ref(target_ref);
binder_debug(BINDER_DEBUG_FAILED_TRANSACTION,
"%d:%d transaction failed %d/%d, size %lld-%lld line %d\n",
proc->pid, thread->pid, return_error, return_error_param,
(u64)tr->data_size, (u64)tr->offsets_size,
return_error_line);
"%d:%d --> %d:%d transaction failed %d/%d, size %lld-%lld line %d\n",
proc->pid, thread->pid, e->to_proc, e->to_thread,
return_error, return_error_param, (u64)tr->data_size,
(u64)tr->offsets_size, return_error_line);
{
struct binder_transaction_log_entry *fe;