Re: [PATCH] tracing: probes: error if BTF is required but unavailable

From: Google

Date: Wed Oct 14 2026 - 21:08:40 EST


On Wed, 14 Oct 2026 10:37:40 +0200, Martin Kaiser <martin@xxxxxxxxx> wrote:
> traceprobe_expand_meta_args expands probe arguments based on BTF info.
>
> Return an error if we have arguments that need expanding but BTF is not
> supported.
>
> The params variable is now unused, it can be removed.
>
> Fixes: d157d7694460 ("tracing/probes: Support BTF field access from $retval")
> Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
> Reviewed-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Thanks, this looks good to me. Let me pick it.

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>