Re: [PATCH] tee: optee: add invoke_fn tracepoints

From: Steven Rostedt
Date: Wed Feb 10 2021 - 09:38:25 EST


On Wed, 10 Feb 2021 14:44:09 +0800
Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx> wrote:

> Add tracepoints to retrieve information about the invoke_fn. This would
> help to measure how many invoke_fn are triggered and how long it takes
> to complete one invoke_fn call.
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
> ---
>
> Since v1:
> - add BUILD_BUG_ON() macro usage to make sure that the size of what is being
> copied, is not smaller than the amount being copied. Thank Steve.
> - move optee_trace.h to keep include headers sorted

>From a tracing point of view:

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve