summaryrefslogtreecommitdiff
path: root/drivers/android/binder_internal.h
diff options
context:
space:
mode:
authorChuang Zhang <zhangchuang3@xiaomi.com>2023-04-24 14:05:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-13 14:38:12 +0300
commit800936191a26a5aba5caa3cbd70a4154b45eb94a (patch)
treee065547bb8761c23e3f733f0572fc442acb4ca28 /drivers/android/binder_internal.h
parentac9a78681b921877518763ba0e89202254349d1b (diff)
downloadlinux-800936191a26a5aba5caa3cbd70a4154b45eb94a.tar.xz
Binder: Add timestamp to transaction record
This patch adds a timestamp field to the binder_transaction structure to track the time consumed during transmission when reading binder_transaction records. Signed-off-by: Chuang Zhang <zhangchuang3@xiaomi.com> Acked-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/5ac8c0d09392290be789423f0dd78a520b830fab.1682333709.git.zhangchuang3@xiaomi.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_internal.h')
-rw-r--r--drivers/android/binder_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/android/binder_internal.h b/drivers/android/binder_internal.h
index 28ef5b3704b1..92e64007f2b0 100644
--- a/drivers/android/binder_internal.h
+++ b/drivers/android/binder_internal.h
@@ -528,6 +528,7 @@ struct binder_transaction {
long priority;
long saved_priority;
kuid_t sender_euid;
+ ktime_t start_time;
struct list_head fd_fixups;
binder_uintptr_t security_ctx;
/**