[PATCH v5] binder: transaction latency tracking for user build

Frankie Chang Frankie.Chang at mediatek.com
Thu Jul 2 09:25:57 EDT 2020


Hi Greg, Todd and all

Gentle remind of this patch set

Thanks.
Frankie

On Wed, 2020-06-10 at 20:23 +0800, Frankie Chang wrote:
> Frankie.Chang (3):
>   binder: move structs from core file to header file
>   binder: add trace at free transaction.
>   binder: add transaction latency tracer
> 
>  drivers/android/Kconfig                 |   8 +
>  drivers/android/Makefile                |   1 +
>  drivers/android/binder.c                | 408 +----------------------
>  drivers/android/binder_internal.h       | 416 ++++++++++++++++++++++++
>  drivers/android/binder_latency_tracer.c | 108 ++++++
>  drivers/android/binder_trace.h          |  49 +++
>  6 files changed, 586 insertions(+), 404 deletions(-)  create mode 100644 drivers/android/binder_latency_tracer.c
> 
> Change from v5:
>   - change config name to the proper one, CONFIG_BINDER_TRANSACTION_LATENCY_TRACKING.
>   - change tracepoint name to more descriptive one, trace_binder_txn_latency_(alloc|info|free)
>   - enhance some lock protection.
> 
> Change from v4:
>   - split up into patch series.
> 
> Change from v3:
>   - use tracepoints for binder_update_info and print_binder_transaction_ext,
>     instead of custom registration functions.
> 
> Change from v2:
>   - create transaction latency module to monitor slow transaction.
> 
> Change from v1:
>   - first patchset.



More information about the Linux-mediatek mailing list