tracing: Updates for 5.16
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest40 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/40 | tracing: Initialize upper and lower vars in pid_list_refill_irq()kernel/ | +2 | 0 replies | |
| 2/40 | tracefs: Have tracefs directories not set OTH permission bits by defaultfs/ | +2 | 0 replies | |
| 3/40 | tracing: Disable "other" permission bits in the tracefs fileskernel/ kernel/ kernel/ +12 more | +103 | 0 replies | |
| 4/40 | ftrace: Cleanup ftrace_dyn_arch_init()arch/ arch/ arch/ +10 more | +5 | 0 replies | |
| 5/40 | bootconfig: Allocate xbc_data inside xbc_init()include/ init/ lib/ +1 more | +27 | 0 replies | |
| 6/40 | bootconfig: Add xbc_get_info() for the node informationinclude/ init/ lib/ +1 more | +25 | 0 replies | |
| 7/40 | tools/bootconfig: Run test script when build alltools/ | +1 | 0 replies | |
| 8/40 | bootconfig: Rename xbc_destroy_all() to xbc_exit()include/ init/ lib/ +1 more | +7 | 0 replies | |
| 9/40 | bootconfig: Split parse-tree part from xbc_initlib/ | +54 | 0 replies | |
| 10/40 | bootconfig: Remove unused debug functioninclude/ lib/ | +0 | 0 replies | |
| 11/40 | tools/bootconfig: Print all error message in stderrtools/ tools/ tools/ | +2 | 0 replies | |
| 12/40 | bootconfig: Replace u16 and u32 with uint16_t and uint32_tinclude/ lib/ tools/ +1 more | +25 | 0 replies | |
| 13/40 | bootconfig: Cleanup dummy headers in tools/bootconfiginclude/ lib/ tools/ +8 more | +93 | 0 replies | |
| 14/40 | ftrace: Add unit test for removing trace functionkernel/ | +34 | 0 replies | |
| 15/40 | tracing: in_irq() cleanupkernel/ kernel/ | +2 | 0 replies | |
| 16/40 | tracing: Use linker magic instead of recasting ftrace_ops_list_func()include/ include/ kernel/ | +28 | 0 replies | |
| 17/40 | tracing/cfi: Fix cmp_entries_* functions signature mismatchkernel/ | +23 | 0 replies | |
| 18/40 | tracing: Reuse logic from perfs get_recursion_context()include/ kernel/ | +12 | 0 replies | |
| 19/40 | tracing/perf: Add interrupt_context_level() helperinclude/ include/ kernel/ +1 more | +24 | 0 replies | |
| 20/40 | x86/ftrace: Remove extra orig rax movearch/ | +0 | 0 replies | |
| 21/40 | x86/ftrace: Remove fault protection code in prepare_ftrace_returnarch/ | +3 | 0 replies | |
| 22/40 | ftrace/x86_64: Have function graph tracer depend on DYNAMIC_FTRACEarch/ | +1 | 0 replies | |
| 23/40 | x86/ftrace: Make function graph use ftrace directlyarch/ arch/ arch/ +2 more | +55 | 0 replies | |
| 24/40 | tracing: Add trampoline/graph selftestkernel/ | +53 | 0 replies | |
| 25/40 | tracing: Fix selftest config check for function graph start up testkernel/ | +5 | 0 replies | |
| 26/40 | ftrace: Add ftrace_add_rec_direct functionkernel/ | +37 | 0 replies | |
| 27/40 | ftrace: Add multi direct register/unregister interfaceinclude/ kernel/ | +153 | 0 replies | |
| 28/40 | ftrace: Add multi direct modify interfaceinclude/ kernel/ | +68 | 0 replies | |
| 29/40 | ftrace/samples: Add multi direct interface test modulesamples/ samples/ | +53 | 0 replies | |
| 30/40 | ftrace/direct: Do not disable when switching direct callerskernel/ | +20 | 0 replies | |
| 31/40 | tracing: Explain the trace recursion transition bit betterinclude/ | +6 | 0 replies | |
| 32/40 | tracing: use %ps format string to print symbolskernel/ | +5 | 0 replies | |
| 33/40 | kprobes: convert tests to kunitkernel/ kernel/ lib/ | +61 | 0 replies | |
| 34/40 | x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=yarch/ | +6 | 0 replies | |
| 35/40 | arm64: kprobes: Record frame pointer with kretprobe instancearch/ | +2 | 0 replies | |
| 36/40 | arm64: kprobes: Make a frame pointer on __kretprobe_trampolinearch/ | +4 | 0 replies | |
| 37/40 | arm64: Recover kretprobe modified return address in stacktracearch/ arch/ arch/ | +12 | 0 replies | |
| 38/40 | ARM: clang: Do not rely on lr register for stacktracearch/ | +1 | 0 replies | |
| 39/40 | ARM: kprobes: Make a frame pointer on __kretprobe_trampolinearch/ | +24 | 0 replies | |
| 40/40 | ARM: Recover kretprobe modified return address in stacktracearch/ arch/ arch/ +1 more | +28 | 0 replies |
Reviews trailers per patch
11 of 40 patches have a Reviewed-by or Acked-by.
| Patch | Heiko Carstens | Helge Deller | Petr Mladek | Oscar Carter | Jiri Olsa | Tom Zanussi | Will Deacon | Mark Rutland | Nick Desaulniers | Masami Hiramatsu |
|---|---|---|---|---|---|---|---|---|---|---|
| 1/40 | ||||||||||
| 2/40 | ||||||||||
| 3/40 | ||||||||||
| 4/40 | A-b | A-b | ||||||||
| 5/40 | ||||||||||
| 6/40 | ||||||||||
| 7/40 | ||||||||||
| 8/40 | ||||||||||
| 9/40 | ||||||||||
| 10/40 | ||||||||||
| 11/40 | ||||||||||
| 12/40 | ||||||||||
| 13/40 | ||||||||||
| 14/40 | ||||||||||
| 15/40 | R-b | |||||||||
| 16/40 | Requested-by | |||||||||
| 17/40 | ||||||||||
| 18/40 | ||||||||||
| 19/40 | ||||||||||
| 20/40 | ||||||||||
| 21/40 | ||||||||||
| 22/40 | ||||||||||
| 23/40 | ||||||||||
| 24/40 | ||||||||||
| 25/40 | A-b | |||||||||
| 26/40 | ||||||||||
| 27/40 | ||||||||||
| 28/40 | ||||||||||
| 29/40 | ||||||||||
| 30/40 | A-b | |||||||||
| 31/40 | ||||||||||
| 32/40 | R-b T-b | |||||||||
| 33/40 | A-b | |||||||||
| 34/40 | ||||||||||
| 35/40 | A-b | A-b | ||||||||
| 36/40 | A-b | |||||||||
| 37/40 | A-b | |||||||||
| 38/40 | R-b | |||||||||
| 39/40 | R-b | |||||||||
| 40/40 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.
Cover letter [for-next][PATCH 00/40] tracing: Updates for 5.16
Finally, this code now passes all my tests!
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: fed240d9c9743815fcbc0ca5c0913292ce1f25e2
Arnd Bergmann (1):
tracing: use %ps format string to print symbols
Carles Pey (1):
ftrace: Add unit test for removing trace function
Changbin Du (1):
tracing: in_irq() cleanup
Jiri Olsa (6):
x86/ftrace: Remove extra orig rax move
tracing: Add trampoline/graph selftest
ftrace: Add ftrace_add_rec_direct function
ftrace: Add multi direct register/unregister interface
ftrace: Add multi direct modify interface ftrace/samples: Add multi direct interface test module
Kalesh Singh (1):
tracing/cfi: Fix cmp_entries_* functions signature mismatch
Masami Hiramatsu (16):
bootconfig: Allocate xbc_data inside xbc_init()
bootconfig: Add xbc_get_info() for the node information tools/bootconfig: Run test script when build all
bootconfig: Rename xbc_destroy_all() to xbc_exit()
bootconfig: Split parse-tree part from xbc_init
bootconfig: Remove unused debug function tools/bootconfig: Print all error message in stderr
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
bootconfig: Cleanup dummy headers in tools/bootconfig x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y
arm64: kprobes: Record frame pointer with kretprobe instance
arm64: kprobes: Make a frame pointer on __kretprobe_trampoline
arm64: Recover kretprobe modified return address in stacktrace
ARM: clang: Do not rely on lr register for stacktrace
ARM: kprobes: Make a frame pointer on __kretprobe_trampoline
ARM: Recover kretprobe modified return address in stacktrace
Steven Rostedt (VMware) (12):
tracing: Initialize upper and lower vars in pid_list_refill_irq()
tracefs: Have tracefs directories not set OTH permission bits by default
tracing: Disable "other" permission bits in the tracefs files
tracing: Use linker magic instead of recasting ftrace_ops_list_func()
tracing: Reuse logic from perf's get_recursion_context() tracing/perf: Add interrupt_context_level() helper x86/ftrace: Remove fault protection code in prepare_ftrace_return ftrace/x86_64: Have function graph tracer depend on DYNAMIC_FTRACE x86/ftrace: Make function graph use ftrace directly
tracing: Fix selftest config check for function graph start up test ftrace/direct: Do not disable when switching direct callers
tracing: Explain the trace recursion transition bit better
Sven Schnelle (1):
kprobes: convert tests to kunit
Weizhao Ouyang (1):
ftrace: Cleanup ftrace_dyn_arch_init()
----
arch/arm/Kconfig | 1 + arch/arm/include/asm/stacktrace.h | 9 + arch/arm/kernel/ftrace.c | 5 - arch/arm/kernel/return_address.c | 4 + arch/arm/kernel/stacktrace.c | 17 +- arch/arm/probes/kprobes/core.c | 28 ++- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/stacktrace.h | 4 + arch/arm64/kernel/ftrace.c | 5 - arch/arm64/kernel/probes/kprobes.c | 4 +- arch/arm64/kernel/probes/kprobes_trampoline.S | 4 + arch/arm64/kernel/stacktrace.c | 7 + arch/csky/kernel/ftrace.c | 5 - arch/ia64/kernel/ftrace.c | 6 - arch/microblaze/kernel/ftrace.c | 5 - arch/nds32/kernel/ftrace.c | 5 - arch/parisc/kernel/ftrace.c | 5 - arch/riscv/kernel/ftrace.c | 5 - arch/s390/kernel/ftrace.c | 5 - arch/sh/kernel/ftrace.c | 5 - arch/sparc/kernel/ftrace.c | 5 - arch/x86/Kconfig | 2 +- arch/x86/include/asm/ftrace.h | 9 +- arch/x86/include/asm/unwind.h | 6 + arch/x86/kernel/ftrace.c | 76 +++--- arch/x86/kernel/ftrace_64.S | 30 +-- fs/tracefs/inode.c | 3 +- include/asm-generic/vmlinux.lds.h | 10 +- include/linux/bootconfig.h | 31 ++- include/linux/ftrace.h | 38 ++- include/linux/preempt.h | 21 ++ include/linux/trace_recursion.h | 16 +- init/main.c | 16 +- kernel/events/internal.h | 7 +- kernel/kprobes.c | 3 - kernel/test_kprobes.c | 222 +++++------------- kernel/trace/fgraph.c | 6 +- kernel/trace/ftrace.c | 325 ++++++++++++++++++++++---- kernel/trace/pid_list.c | 4 +- kernel/trace/ring_buffer.c | 9 +- kernel/trace/trace.c | 73 +++--- kernel/trace/trace.h | 5 +- kernel/trace/trace_dynevent.c | 2 +- kernel/trace/trace_events.c | 42 ++-- kernel/trace/trace_events_hist.c | 15 +- kernel/trace/trace_events_synth.c | 4 +- kernel/trace/trace_functions_graph.c | 4 +- kernel/trace/trace_hwlat.c | 6 +- kernel/trace/trace_kprobe.c | 8 +- kernel/trace/trace_osnoise.c | 14 +- kernel/trace/trace_printk.c | 2 +- kernel/trace/trace_recursion_record.c | 4 +- kernel/trace/trace_selftest.c | 92 +++++++- kernel/trace/trace_stack.c | 6 +- kernel/trace/trace_stat.c | 6 +- kernel/trace/trace_uprobe.c | 4 +- kernel/trace/tracing_map.c | 40 ++-- lib/Kconfig.debug | 3 +- lib/bootconfig.c | 231 +++++++++++------- samples/ftrace/Makefile | 1 + samples/ftrace/ftrace-direct-multi.c | 52 +++++ tools/bootconfig/Makefile | 4 +- tools/bootconfig/include/linux/bootconfig.h | 45 +++- tools/bootconfig/include/linux/bug.h | 12 - tools/bootconfig/include/linux/ctype.h | 7 - tools/bootconfig/include/linux/errno.h | 7 - tools/bootconfig/include/linux/kernel.h | 18 -- tools/bootconfig/include/linux/memblock.h | 11 - tools/bootconfig/include/linux/printk.h | 14 -- tools/bootconfig/include/linux/string.h | 32 --- tools/bootconfig/main.c | 32 +-- 71 files changed, 1033 insertions(+), 732 deletions(-) create mode 100644 samples/ftrace/ftrace-direct-multi.c delete mode 100644 tools/bootconfig/include/linux/bug.h delete mode 100644 tools/bootconfig/include/linux/ctype.h delete mode 100644 tools/bootconfig/include/linux/errno.h delete mode 100644 tools/bootconfig/include/linux/kernel.h delete mode 100644 tools/bootconfig/include/linux/memblock.h delete mode 100644 tools/bootconfig/include/linux/printk.h delete mode 100644 tools/bootconfig/include/linux/string.h