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
This commit is contained in:
parent
9ee3fc4dc3
commit
f71114b6a4
|
@ -56,7 +56,9 @@ public:
|
|||
protected:
|
||||
virtual status_t writeLines(const struct iovec& vec, size_t N)
|
||||
{
|
||||
android_writevLog(&vec, N);
|
||||
//android_writevLog(&vec, N); <-- this is now a no-op
|
||||
if (N != 1) LOGI("WARNING: writeLines N=%d\n", N);
|
||||
LOGI("%.*s", vec.iov_len, (const char*) vec.iov_base);
|
||||
return NO_ERROR;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue