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

Reply via email to