ftrace: Add fprobe updates for 6.14
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | fgraph: Pass ftrace_regs to entryfuncarch/ arch/ arch/ +11 more | +114 | 0 replies | |
| 2/18 | fgraph: Replace fgraph_ret_regs with ftrace_regsarch/ arch/ arch/ +21 more | +119 | 0 replies | |
| 3/18 | fgraph: Pass ftrace_regs to retfuncinclude/ kernel/ kernel/ +5 more | +27 | 0 replies | |
| 4/18 | fprobe: Use ftrace_regs in fprobe entry handlerinclude/ kernel/ kernel/ +4 more | +23 | 0 replies | |
| 5/18 | fprobe: Use ftrace_regs in fprobe exit handlerarch/ arch/ arch/ +8 more | +33 | 0 replies | |
| 6/18 | tracing: Add ftrace_partial_regs() for converting ftrace_regs to pt_regsarch/ arch/ include/ | +44 | 0 replies | |
| 7/18 | tracing: Add ftrace_fill_perf_regs() for perf eventarch/ arch/ arch/ +2 more | +58 | 0 replies | |
| 8/18 | tracing/fprobe: Enable fprobe events with CONFIG_DYNAMIC_FTRACE_WITH_ARGSinclude/ kernel/ kernel/ +1 more | +86 | 0 replies | |
| 9/18 | bpf: Enable kprobe_multi feature if CONFIG_FPROBE is enabledkernel/ | +14 | 0 replies | |
| 10/18 | ftrace: Add CONFIG_HAVE_FTRACE_GRAPH_FUNCarch/ arch/ arch/ +3 more | +10 | 0 replies | |
| 11/18 | s390/tracing: Enable HAVE_FTRACE_GRAPH_FUNCarch/ arch/ arch/ +2 more | +20 | 0 replies | |
| 12/18 | fprobe: Rewrite fprobe on function-graph tracerarch/ arch/ arch/ +7 more | +538 | 0 replies | |
| 13/18 | fprobe: Add fprobe_header encoding featurearch/ arch/ arch/ +4 more | +100 | 0 replies | |
| 14/18 | tracing/fprobe: Remove nr_maxactive from fprobeinclude/ kernel/ | +6 | 0 replies | |
| 15/18 | selftests: ftrace: Remove obsolate maxactive syntax checktools/ | +1 | 1 reply | |
| 16/18 | selftests/ftrace: Add a test case for repeating register/unregister fprobetools/ | +19 | 0 replies | |
| 17/18 | Documentation: probes: Update fprobe on function-graph tracerDocumentation/ | +27 | 0 replies | |
| 18/18 | ftrace: Add ftrace_get_symaddr to convert fentry_ip to symaddrarch/ arch/ arch/ +1 more | +99 | 0 replies |
Reviews trailers per patch
9 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Heiko Carstens | Will Deacon | Florent Revest |
|---|---|---|---|
| 1/18 | |||
| 2/18 | A-b | A-b | |
| 3/18 | |||
| 4/18 | A-b | ||
| 5/18 | A-b | ||
| 6/18 | A-b | ||
| 7/18 | A-b | A-b | |
| 8/18 | |||
| 9/18 | A-b | ||
| 10/18 | |||
| 11/18 | A-b | ||
| 12/18 | A-b | ||
| 13/18 | A-b | ||
| 14/18 | |||
| 15/18 | |||
| 16/18 | |||
| 17/18 | |||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [for-next][PATCH 00/18] ftrace: Add fprobe updates for 6.14
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace/for-next
Head SHA1: 2bc56fdae1ba3fc80ee37a648346abc5f152357d
Masami Hiramatsu (Google) (17):
fgraph: Pass ftrace_regs to entryfunc
fgraph: Replace fgraph_ret_regs with ftrace_regs
fgraph: Pass ftrace_regs to retfunc
fprobe: Use ftrace_regs in fprobe entry handler
fprobe: Use ftrace_regs in fprobe exit handler
tracing: Add ftrace_partial_regs() for converting ftrace_regs to pt_regs
tracing: Add ftrace_fill_perf_regs() for perf event tracing/fprobe: Enable fprobe events with CONFIG_DYNAMIC_FTRACE_WITH_ARGS
bpf: Enable kprobe_multi feature if CONFIG_FPROBE is enabled
ftrace: Add CONFIG_HAVE_FTRACE_GRAPH_FUNC
fprobe: Rewrite fprobe on function-graph tracer
fprobe: Add fprobe_header encoding feature
tracing/fprobe: Remove nr_maxactive from fprobe
selftests: ftrace: Remove obsolate maxactive syntax check selftests/ftrace: Add a test case for repeating register/unregister fprobe
Documentation: probes: Update fprobe on function-graph tracer
ftrace: Add ftrace_get_symaddr to convert fentry_ip to symaddr
Sven Schnelle (1):
s390/tracing: Enable HAVE_FTRACE_GRAPH_FUNC
----
Documentation/trace/fprobe.rst | 42 +- arch/arm64/Kconfig | 2 + arch/arm64/include/asm/Kbuild | 1 + arch/arm64/include/asm/ftrace.h | 51 +- arch/arm64/kernel/asm-offsets.c | 12 - arch/arm64/kernel/entry-ftrace.S | 32 +- arch/arm64/kernel/ftrace.c | 78 ++- arch/loongarch/Kconfig | 4 +- arch/loongarch/include/asm/fprobe.h | 12 + arch/loongarch/include/asm/ftrace.h | 32 +- arch/loongarch/kernel/asm-offsets.c | 12 - arch/loongarch/kernel/ftrace_dyn.c | 10 +- arch/loongarch/kernel/mcount.S | 17 +- arch/loongarch/kernel/mcount_dyn.S | 14 +- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/ftrace.h | 13 + arch/powerpc/kernel/trace/ftrace.c | 2 +- arch/powerpc/kernel/trace/ftrace_64_pg.c | 10 +- arch/riscv/Kconfig | 3 +- arch/riscv/include/asm/Kbuild | 1 + arch/riscv/include/asm/ftrace.h | 45 +- arch/riscv/kernel/ftrace.c | 17 +- arch/riscv/kernel/mcount.S | 24 +- arch/s390/Kconfig | 4 +- arch/s390/include/asm/fprobe.h | 10 + arch/s390/include/asm/ftrace.h | 37 +- arch/s390/kernel/asm-offsets.c | 6 - arch/s390/kernel/entry.h | 1 - arch/s390/kernel/ftrace.c | 48 +- arch/s390/kernel/mcount.S | 23 +- arch/x86/Kconfig | 4 +- arch/x86/include/asm/Kbuild | 1 + arch/x86/include/asm/ftrace.h | 54 +- arch/x86/kernel/ftrace.c | 42 +- arch/x86/kernel/ftrace_32.S | 13 +- arch/x86/kernel/ftrace_64.S | 17 +- include/asm-generic/fprobe.h | 46 ++ include/linux/fprobe.h | 62 +- include/linux/ftrace.h | 116 +++- include/linux/ftrace_regs.h | 2 + kernel/trace/Kconfig | 22 +- kernel/trace/bpf_trace.c | 19 +- kernel/trace/fgraph.c | 57 +- kernel/trace/fprobe.c | 664 +++++++++++++++------ kernel/trace/ftrace.c | 6 +- kernel/trace/trace.h | 6 +- kernel/trace/trace_fprobe.c | 146 ++--- kernel/trace/trace_functions_graph.c | 10 +- kernel/trace/trace_irqsoff.c | 6 +- kernel/trace/trace_probe_tmpl.h | 2 +- kernel/trace/trace_sched_wakeup.c | 6 +- kernel/trace/trace_selftest.c | 11 +- lib/test_fprobe.c | 51 +- samples/fprobe/fprobe_example.c | 4 +- .../test.d/dynevent/add_remove_fprobe_repeat.tc | 19 + .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc | 4 +- 56 files changed, 1303 insertions(+), 651 deletions(-) create mode 100644 arch/loongarch/include/asm/fprobe.h create mode 100644 arch/s390/include/asm/fprobe.h create mode 100644 include/asm-generic/fprobe.h create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_fprobe_repeat.tc