OSDN Git Service

Resurrect verbose binder logging
authorAndy McFadden <fadden@android.com>
Wed, 31 Aug 2011 14:43:40 +0000 (07:43 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 7 Sep 2011 23:45:03 +0000 (16:45 -0700)
commitaefc9cda45adb00ec1cb2c8fbd03c50fd48499fb
tree716d2961f36d7c83f4a418e255d2a336476be515
parent7f739ae68c57435964f69c397ec0cf344d0701a2
Resurrect verbose binder logging

Updated the command name lists, and masked off the additional bits in
the command word when doing the name lookup.

Made descriptor values easier to grep for and consistent with kernel
output (i.e. decimal rather than hex).  Attempt to show transaction
descriptors as such (they're in a union with a pointer).

Also, the writeLines() function in Static was using a no-op
logging call to write an iovec.  It looks like all callers are using
N=1, so I just added a log for the first string.

Bug 5155269

Change-Id: I417b8d77da3eb6ee1d2069ba94047210f75738bc
libs/binder/IPCThreadState.cpp
libs/utils/Static.cpp