mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] tracing: Updates for 6.5
@ 2023-06-28 23:00 Steven Rostedt
  2023-06-30 18:46 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2023-06-28 23:00 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: LKML, Masami Hiramatsu, Mark Rutland, Azeem Shaikh,
	Daniel Bristot de Oliveira, Donglin Peng, Jiri Olsa


Linus,

Tracing updates for 6.5:

- Add new feature to have function graph tracer record the return value.
  Adds a new option: funcgraph-retval ; when set, will show the return
  value of a function in the function graph tracer.

- Also add the option: funcgraph-retval-hex where if it is not set, and
  the return value is an error code, then it will return the decimal of
  the error code, otherwise it still reports the hex value.

- Add the file /sys/kernel/tracing/osnoise/per_cpu/cpu<cpu>/timerlat_fd
  That when a application opens it, it becomes the task that the timer lat
  tracer traces. The application can also read this file to find out how
  it's being interrupted.

- Add the file /sys/kernel/tracing/available_filter_functions_addrs
  that works just the same as available_filter_functions but also shows
  the addresses of the functions like kallsyms, except that it gives the
  address of where the fentry/mcount jump/nop is. This is used by BPF to
  make it easier to attach BPF programs to ftrace hooks.

- Replace strlcpy with strscpy in the tracing boot code.


Please pull the latest trace-v6.5 tree, which can be found at:


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

Tag SHA1: 2560e018ceb91b477882b941216b9c5a3c0e4316
Head SHA1: fc30ace06f250f79381a8e3f6ed92dd68e25a9f5


Azeem Shaikh (1):
      tracing/boot: Replace strlcpy with strscpy

Daniel Bristot de Oliveira (3):
      tracing/osnoise: Switch from PF_NO_SETAFFINITY to migrate_disable
      tracing/osnoise: Skip running osnoise if all instances are off
      tracing/timerlat: Add user-space interface

Donglin Peng (8):
      function_graph: Support recording and printing the return value of function
      tracing: Add documentation for funcgraph-retval and funcgraph-retval-hex
      arm64: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL
      x86/ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL
      LoongArch: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL
      selftests/ftrace: Add funcgraph-retval test case
      riscv: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL
      tracing: Fix warnings when building htmldocs for function graph retval

Jiri Olsa (1):
      ftrace: Show all functions with addresses in available_filter_functions_addrs

Steven Rostedt (Google) (1):
      fgraph: Add declaration of "struct fgraph_ret_regs"

----
 Documentation/trace/ftrace.rst                     | 132 ++++++
 Documentation/trace/timerlat-tracer.rst            |  78 ++++
 arch/arm64/Kconfig                                 |   1 +
 arch/arm64/include/asm/ftrace.h                    |  22 +
 arch/arm64/kernel/asm-offsets.c                    |  13 +
 arch/arm64/kernel/entry-ftrace.S                   |  27 +-
 arch/loongarch/Kconfig                             |   1 +
 arch/loongarch/include/asm/ftrace.h                |  22 +
 arch/loongarch/kernel/asm-offsets.c                |  15 +-
 arch/loongarch/kernel/mcount.S                     |  14 +-
 arch/loongarch/kernel/mcount_dyn.S                 |  15 +-
 arch/riscv/Kconfig                                 |   1 +
 arch/riscv/include/asm/ftrace.h                    |  21 +
 arch/riscv/kernel/mcount.S                         |   7 +-
 arch/x86/Kconfig                                   |   1 +
 arch/x86/include/asm/ftrace.h                      |  20 +
 arch/x86/kernel/ftrace_32.S                        |   8 +-
 arch/x86/kernel/ftrace_64.S                        |   7 +-
 include/linux/ftrace.h                             |   4 +
 kernel/trace/Kconfig                               |  15 +
 kernel/trace/fgraph.c                              |  26 +-
 kernel/trace/ftrace.c                              |  37 ++
 kernel/trace/trace.h                               |   2 +
 kernel/trace/trace_boot.c                          |   8 +-
 kernel/trace/trace_entries.h                       |  26 ++
 kernel/trace/trace_functions_graph.c               |  93 +++-
 kernel/trace/trace_osnoise.c                       | 477 ++++++++++++++++++++-
 kernel/trace/trace_output.c                        |   4 +-
 .../ftrace/test.d/ftrace/fgraph-retval.tc          |  44 ++
 29 files changed, 1079 insertions(+), 62 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/fgraph-retval.tc
---------------------------


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

* Re: [GIT PULL] tracing: Updates for 6.5
  2023-06-28 23:00 [GIT PULL] tracing: Updates for 6.5 Steven Rostedt
@ 2023-06-30 18:46 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-06-30 18:46 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Linus Torvalds, LKML, Masami Hiramatsu, Mark Rutland,
	Azeem Shaikh, Daniel Bristot de Oliveira, Donglin Peng,
	Jiri Olsa

The pull request you sent on Wed, 28 Jun 2023 19:00:32 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v6.5

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cccf0c2ee52d3bd710be3a3f865df1b869a68f11

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2023-06-30 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 23:00 [GIT PULL] tracing: Updates for 6.5 Steven Rostedt
2023-06-30 18:46 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®