binder: add trace at free transaction.
authorFrankie.Chang <Frankie.Chang@mediatek.com>
Wed, 11 Nov 2020 03:02:43 +0000 (11:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Nov 2020 07:20:44 +0000 (08:20 +0100)
commit1987f112f1425cba2671d878f6952087e9456a0a
tree0fd81ef4a68110a7e4fd105d6cf314a66b58c04e
parent421518a2740fc95ab3a47109228bf230dee4040b
binder: add trace at free transaction.

Since the original trace_binder_transaction_received cannot
precisely present the real finished time of transaction, adding a
trace_binder_txn_latency_free at the point of free transaction
may be more close to it.

Signed-off-by: Frankie.Chang <Frankie.Chang@mediatek.com>
Acked-by: Todd Kjos <tkjos@google.com>
Link: https://lore.kernel.org/r/1605063764-12930-3-git-send-email-Frankie.Chang@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
drivers/android/binder_trace.h