Re: [PATCH v3 29/64] objtool: Mark prefix functions
From: Josh Poimboeuf
Date: Fri Jun 27 2025 - 12:53:35 EST
On Fri, Jun 27, 2025 at 12:31:58PM +0200, Peter Zijlstra wrote:
> > +static inline bool is_prefix_func(struct symbol *sym)
> > +{
> > + return is_func_sym(sym) && sym->prefix;
> > +}
>
> func_is_prefix() ?
is the function a prefix though?
> Also, since we only ever set sym->prefix when is_func_sym(), this helper
> could avoid checking that again.
Indeed...
--
Josh