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

From: Google

Date: Mon Jun 01 2026 - 20:08:02 EST


On Mon, 1 Jun 2026 13:31:29 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 1 Jun 2026 13:07:46 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > Changes since v7: https://patch.msgid.link/20260529110442.0967a64c@fedora
> >
> > - Add error message in parse_btf_args() for failed parsing of TEVENT.
> > (Sashiko)
> >
> > - Remove TPARG_FL_TYPECAST and just use ctx->struct_btf instead.
> > The flag was redundant and added unnecessary complexity.
> >
> > - Restructure to keep the lifetime of the TYPECAST to the end of
> > traceprobe_parse_probe_arg_body(). This allows the last_type to stay
> > around in case there's not a type parameter and then btf can still be
> > used.
> > (Sashiko and Masami Hiramatsu)
>
> And I rebased onto probes/for-next
>

Thanks, but it seems Sashiko failed to apply (because it is using
linux-trace/HEAD branch?) Hmm, we may always need "base-id" tag.

Thanks,

> -- Steve


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