Re: [PATCH v5 0/3] Use BTF to trim return values
From: Steven Rostedt
Date: Thu Sep 03 2026 - 20:35:48 EST
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.
-- Steve