Re: [PATCH v2] tracing: Deal with error return code of the ftrace_process_locs() function

From: Steven Rostedt
Date: Tue May 24 2022 - 13:24:43 EST


On Thu, 20 Jan 2022 06:59:49 +0000
Yuntao Wang <ytcoode@xxxxxxxxx> wrote:

> The ftrace_process_locs() function may return -ENOMEM error code, which
> should be handled by the callers.
>
> Signed-off-by: Yuntao Wang <ytcoode@xxxxxxxxx>
> ---
> Changes since v1:
> - Deal with error return code instead of just removing it
>
>

Thanks, I added this to my queue. Note, I renamed the subject to start with
"ftrace:" instead of "tracing:" as this is specific to ftrace (the function
hook infrastructure).

-- Steve