[PATCH v2 0/2] tracing: Add an option to show symbols in _text+offset for function profiler

Masami Hiramatsu (Google) posted 2 patches 1 week, 2 days ago
There is a newer version of this series
kernel/trace/ftrace.c             |   26 ++++++++++
kernel/trace/trace.c              |   24 +++++-----
kernel/trace/trace.h              |   92 +++++++++++++++++++++----------------
kernel/trace/trace_irqsoff.c      |    2 -
kernel/trace/trace_sched_wakeup.c |    2 -
5 files changed, 91 insertions(+), 55 deletions(-)
[PATCH v2 0/2] tracing: Add an option to show symbols in _text+offset for function profiler
Posted by Masami Hiramatsu (Google) 1 week, 2 days ago
Hi,

This series implements an option to show symbols in _text+OFFSET
format instead of symbol name in the function profiler.
This is the 2nd version, the 1st one is here;

https://lore.kernel.org/all/175826135058.101165.7219957344129610147.stgit@devnote2/

This version adds a patch to expand the trace_iterator_flag flag
bits to 64 bits [1/2] because there is already 32 flags and no space
to add a new flag. Also, add a dummy TRACE_ITER_PROF_TEXT_OFFSET to
fix a compliation error if CONFIG_FUNCTION_PROFILER=n.

Thank you,

---

Masami Hiramatsu (Google) (2):
      tracing: Allow tracer to add more than 32 options
      tracing: Add an option to show symbols in _text+offset for function profiler


 kernel/trace/ftrace.c             |   26 ++++++++++
 kernel/trace/trace.c              |   24 +++++-----
 kernel/trace/trace.h              |   92 +++++++++++++++++++++----------------
 kernel/trace/trace_irqsoff.c      |    2 -
 kernel/trace/trace_sched_wakeup.c |    2 -
 5 files changed, 91 insertions(+), 55 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>