Re: [PATCH v5 0/3] Use BTF to trim return values

From: Donglin Peng

Date: Thu Sep 03 2026 - 21:41:41 EST


On Fri, Sep 4, 2026 at 8:30 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Fri, 4 Sep 2026 08:48:08 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > > I have to ask. Why do we care? Is there a use for this information?
> >
> > If the structure itself is being returned, representing it as a scalar
> > value could lead to misunderstandings. Since we can check it is a
> > scalar or not, it should be noticed. In this meaning, I think "(trunc)"
> > is also good to me. (at least user can notice it)
>
> OK, after thinking about this more, I agree that "(trunc)" is the better option.

Thanks, I will keep using "(trunc)" in v6.

>
> -- Steve