Re: [PATCH v6] tracing/eprobes: Allow use of BTF names to dereference pointers

From: Steven Rostedt

Date: Fri May 29 2026 - 09:23:09 EST


On Fri, 29 May 2026 13:25:08 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> Thus, we should report a kernel bug if !ctx->flags & TPARG_FL_TYPECAST
> here. Something like this:
>
> if (WARN_ONCE(!(ctx->flags & TPARG_FL_TYPECAST)))
> return -EINVAL;
> type = ctx->last_struct;
> goto found_type;

OK, will update it in v7.

Thanks,

-- Steve