Re: [PATCH 11/20 v2] tracing: Add symbol type to function based events

2018-02-09 Thread Masami Hiramatsu
On Thu, 8 Feb 2018 12:20:31 +0100 Jiri Olsa wrote: > On Wed, Feb 07, 2018 at 03:24:13PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Add a special type "symbol" that will use %pS to display the field of a > > function based event. > > > > Signed-off-by: Steven Roste

Re: [PATCH 11/20 v2] tracing: Add symbol type to function based events

2018-02-08 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 08, 2018 at 10:59:00AM -0500, Steven Rostedt escreveu: > On Thu, 8 Feb 2018 12:20:31 +0100 > Jiri Olsa wrote: > > > > +Symbols (function names) > > > + > > > + > > > +To display kallsyms "%pS" type of output, use the special type "symbol". > > > + > > > +Again,

Re: [PATCH 11/20 v2] tracing: Add symbol type to function based events

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 12:20:31 +0100 Jiri Olsa wrote: > > +Symbols (function names) > > + > > + > > +To display kallsyms "%pS" type of output, use the special type "symbol". > > + > > +Again, using gdb to find the offset of the "func" field of struct > > work_struct > > + >

Re: [PATCH 11/20 v2] tracing: Add symbol type to function based events

2018-02-08 Thread Jiri Olsa
On Wed, Feb 07, 2018 at 03:24:13PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add a special type "symbol" that will use %pS to display the field of a > function based event. > > Signed-off-by: Steven Rostedt (VMware) > --- > Documentation/trace/function-based-events.rst