Re: [PATCH v3 5/9] tracing/probes: Support BTF field access from $retval

Masami Hiramatsu
2023-07-26T22:53:51Z

On Wed, 26 Jul 2023 22:00:42 +0900
"Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:

>
> -static const struct btf_param *find_btf_func_param(const char *funcname, s32 *nr,
> - struct btf **btf_p, bool tracepoint)
> +static int query_btf_context(struct traceprobe_parse_context *ctx)
> {
> return ERR_PTR(-EOPNOTSUPP);

Oops, kernel test bot reported this is wrong. I have to remove ERR_PTR().

Thanks,

> }

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>