Re: [PATCH v6 0/2] tracing: Add an option to show symbols in _text+offset for function profiler
From: Steven Rostedt
Date: Fri Oct 31 2025 - 08:26:59 EST
On Fri, 31 Oct 2025 10:29:47 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> > +static inline int probe_print_ip_sym(struct trace_seq *s, unsigned long ip,
> > + int flags)
> > +{
> > + retun seq_print_ip_sym(s, field->ip, flags | TRACE_ITER_SYM_OFFSET);
> > +}
> >
> > And use that instead.
>
> Shouldn't we make it trace-wide function ?
Sure.
-- Steve