FROMLIST: binder: add log information for binder transaction failures
authorTodd Kjos <tkjos@google.com>
Thu, 23 Mar 2017 00:19:52 +0000 (17:19 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:19 +0000 (08:34 -0700)
commite598d17c854cd20cd257691c6fb60c86022bc2e9
tree3ce67800fa461fc63bcdd81d89beb39b6e6cf6f5
parentc4bd08b5ad3823d8ef831da6a069e4c996a7c826
FROMLIST: binder: add log information for binder transaction failures

(from https://patchwork.kernel.org/patch/9817751/)

Add additional information to determine the cause of binder
failures. Adds the following to failed transaction log and
kernel messages:
return_error : value returned for transaction
return_error_param : errno returned by binder allocator
return_error_line : line number where error detected

Also, return BR_DEAD_REPLY if an allocation error indicates
a dead proc (-ESRCH)

Change-Id: If9f203dee30036003aa1823aaf3f7098f488a3e6
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c
drivers/android/binder_alloc.c