On Tue, 19 May 2026 12:28:36 -0400
Steven Rostedt <[email protected]> wrote:

> I added a struct_btf (I can change it to typecast_btf) and have a
> helper function that is:

Actually, I'm going to keep it as struct_btf as it is a btf for a
structure. I did change the flag to be TYPECAST though.

-- Steve


> 
> static struct btf *ctx_btf(struct traceprobe_parse_context *ctx)
> {
>       return ctx->flags & TPARG_FL_STRUCT ?
>               ctx->struct_btf : ctx->btf;
> }


Reply via email to