public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] ftrace: Updates for 6.15
@ 2025-03-25 23:39 Steven Rostedt
  2025-03-28  0:09 ` pr-tracker-bot
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Rostedt @ 2025-03-25 23:39 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: LKML, Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers,
	Andrew Morton, Haiyue Wang, Jiapeng Chong, Sasha Levin,
	Sven Schnelle, Tengda Wu


Linus,

ftrace changes for v6.15:

- Record function parameters for function and function graph tracers

  An option has been added to function tracer (func-args) and the function
  graph tracer (funcgraph-args) that when set, the tracers will record the
  registers that hold the arguments into each function event. On reading of
  the trace, it will use BTF to print those arguments. Most archs support up
  to 6 arguments (depending on the complexity of the arguments) and those
  are printed. If a function has more arguments then what was recorded, the
  output will end with " ... )".

    Example of function graph tracer:

    6)              | dummy_xmit [dummy](skb = 0x8887c100, dev = 0x872ca000) {
    6)              |   consume_skb(skb = 0x8887c100) {
    6)              |     skb_release_head_state(skb = 0x8887c100) {
    6)  0.178 us    |       sock_wfree(skb = 0x8887c100)
    6)  0.627 us    |     }

- The rest of the changes are minor clean ups and fixes


Please pull the latest ftrace-v6.15 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace-v6.15

Tag SHA1: d96c183fee82a7cb9e3875c6e65fae637768d592
Head SHA1: 391dda1bd7c56de62b96126214f040fe8965561b


Haiyue Wang (1):
      fgraph: Correct typo in ftrace_return_to_handler comment

Jiapeng Chong (1):
      function_graph: Remove the unused variable func

Sasha Levin (1):
      tracing: Use hashtable.h for event_hash

Steven Rostedt (2):
      ftrace: Have ftrace_free_filter() WARN and exit if ops is active
      ftrace: Have funcgraph-args take affect during tracing

Sven Schnelle (3):
      ftrace: Add print_function_args()
      ftrace: Add support for function argument to graph tracer
      ftrace: Add arguments to function tracer

Tengda Wu (1):
      tracing: Fix use-after-free in print_graph_function_flags during tracer switching

----
 include/linux/ftrace_regs.h          |   5 +
 kernel/trace/Kconfig                 |  12 +++
 kernel/trace/fgraph.c                |   2 +-
 kernel/trace/ftrace.c                |   2 +
 kernel/trace/trace.c                 |  14 ++-
 kernel/trace/trace.h                 |   5 +-
 kernel/trace/trace_entries.h         |  12 ++-
 kernel/trace/trace_functions.c       |  46 ++++++++-
 kernel/trace/trace_functions_graph.c | 176 ++++++++++++++++++++++++++++-------
 kernel/trace/trace_irqsoff.c         |  14 ++-
 kernel/trace/trace_output.c          | 122 +++++++++++++++++++++---
 kernel/trace/trace_output.h          |   9 ++
 kernel/trace/trace_sched_wakeup.c    |   6 +-
 13 files changed, 351 insertions(+), 74 deletions(-)
---------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-01 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 23:39 [GIT PULL] ftrace: Updates for 6.15 Steven Rostedt
2025-03-28  0:09 ` pr-tracker-bot
2025-03-31 16:57   ` Christian Loehle
2025-04-01 11:26     ` Christian Loehle
2025-04-01 11:31     ` Leon Romanovsky
2025-04-01 14:10       ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox