Re: [PATCH] BINDER:Allow tracing of binder_txn_latency_free

From: Greg KH
Date: Wed Apr 12 2023 - 02:45:12 EST


On Wed, Apr 12, 2023 at 11:33:32AM +0800, Chuang Zhang wrote:
> From: zhangchuang3 <zhangchuang3@xxxxxxxxxx>
>
> The author forgot to EXPORT and need Export
> binder_txn_latency_free trace point.
>
> Signed-off-by: zhangchuang3 <zhangchuang3@xxxxxxxxxx>

I doubt you sign documents as "zhangchuang3", please always just use
your name, not your email alias.

And as this is coming from a gmail account, I can't ferify that this
really is an xiaomi.com address, why not just use your company address?

> ---
> drivers/android/binder.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/android/binder.c b/drivers/android/binder.c
> index fb56bfc45096..320cf08805d4 100644
> --- a/drivers/android/binder.c
> +++ b/drivers/android/binder.c
> @@ -6604,5 +6604,6 @@ device_initcall(binder_init);
>
> #define CREATE_TRACE_POINTS
> #include "binder_trace.h"
> +EXPORT_TRACEPOINT_SYMBOL_GPL(binder_txn_latency_free);

What in-kernel code needs this?

thanks,

greg k-h