Thread (4 messages) 4 messages, 1 author, 2025-11-04

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

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2025-11-04 12:55:32
Also in: lkml

Hi Steve,

I've pushed these 2 patches (with Link tag) into:

https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git/log/?h=topic/func-profiler-offset

So feel free to merge that branch.
Also, let me send a wprobe patch for this change.

Thank you,


On Fri, 31 Oct 2025 11:46:01 +0900
"Masami Hiramatsu (Google)" [off-list ref] wrote:
Hi,

This series implements an option to show symbols in _text+OFFSET
format instead of symbol name in the function profiler.
This is the 7th version, the previous one is here;

https://lore.kernel.org/all/176179500583.960652.5730113001091388258.stgit@devnote2/ (local)

This version is rebased on top of v6.19-rc3 and introduces wrapper
functions of seq_print_ip_sym() for showing offset or not.

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/blktrace.c              |    6 +
 kernel/trace/ftrace.c                |   26 ++++++
 kernel/trace/trace.c                 |  154 +++++++++++++++++-----------------
 kernel/trace/trace.h                 |   40 +++++----
 kernel/trace/trace_events.c          |    4 -
 kernel/trace/trace_events_synth.c    |    2 
 kernel/trace/trace_fprobe.c          |    6 +
 kernel/trace/trace_functions_graph.c |   18 ++--
 kernel/trace/trace_irqsoff.c         |   30 +++----
 kernel/trace/trace_kdb.c             |    2 
 kernel/trace/trace_kprobe.c          |    6 +
 kernel/trace/trace_output.c          |   18 ++--
 kernel/trace/trace_output.h          |   11 ++
 kernel/trace/trace_sched_wakeup.c    |   24 +++--
 kernel/trace/trace_syscalls.c        |    2 
 15 files changed, 196 insertions(+), 153 deletions(-)

--
Masami Hiramatsu (Google) [off-list ref]

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help