Binder: Add async from to transaction record
authorChuang Zhang <zhangchuang3@xiaomi.com>
Mon, 24 Apr 2023 11:05:15 +0000 (19:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 May 2023 11:38:12 +0000 (20:38 +0900)
commitc21c0f9a20a963f5a1874657a4e3d657503f7815
treed103fe55a279d7392e24d1171b79484b5e9c433c
parent800936191a26a5aba5caa3cbd70a4154b45eb94a
Binder: Add async from to transaction record

This commit adds support for getting the pid and tid information of
the sender for asynchronous transfers in binderfs transfer records.
In previous versions, it was not possible to obtain this information
from the transfer records. While this information may not be necessary
for all use cases, it can be useful in some scenarios.

Signed-off-by: Chuang Zhang <zhangchuang3@xiaomi.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/0c1e8bd37c68dd1518bb737b06b768cde9659386.1682333709.git.zhangchuang3@xiaomi.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
drivers/android/binder_internal.h